File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1407,6 +1407,7 @@ branch.deleted_by = Deleted by %s
1407
1407
branch.restore_success = Branch '%s' has been restored.
1408
1408
branch.restore_failed = Failed to restore branch '%s'.
1409
1409
branch.protected_deletion_failed = Branch '%s' is protected. It cannot be deleted.
1410
+ branch.restore = Restore Branch '%s'
1410
1411
1411
1412
topic.manage_topics = Manage Topics
1412
1413
topic.done = Done
Original file line number Diff line number Diff line change 97
97
{{if .IsProtected}}
98
98
<i class="octicon octicon-shield"></i>
99
99
{{else if .IsDeleted}}
100
- <a class="undo-button" href data-url="{{$.Link}}/restore?branch_id={{.DeletedBranch.ID | urlquery}}&name={{.DeletedBranch.Name | urlquery}}"><i class="octicon octicon-reply"></i></a>
100
+ <a class="ui basic jump button icon poping up undo-button" href data-url="{{$.Link}}/restore?branch_id={{.DeletedBranch.ID | urlquery}}&name={{.DeletedBranch.Name | urlquery}}" data-content="{{$.i18n.Tr "repo.branch.restore" (.Name | EscapePound)}}" data-variation="tiny inverted" data-position="top right" ><i class="octicon octicon-reply text blue "></i></a>
101
101
{{else}}
102
- <a class="delete-branch-button" href data-url="{{$.Link}}/delete?name={{.Name | urlquery}}" data-name="{{.Name}}"><i class="trash icon text red"></i></a>
102
+ <a class="ui basic jump button icon poping up delete-branch-button" href data-url="{{$.Link}}/delete?name={{.Name | urlquery}}" data-content="{{$.i18n.Tr "repo.branch.delete" (.Name | EscapePound)}}" data-variation="tiny inverted" data-position="top right " data-name="{{.Name}}"><i class="trash icon text red"></i></a>
103
103
{{end}}
104
104
</td>
105
105
{{end}}
You can’t perform that action at this time.
0 commit comments