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 87
87
{{if .IsProtected}}
88
88
<i class="octicon octicon-shield"></i>
89
89
{{else if .IsDeleted}}
90
- <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>
90
+ <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>
91
91
{{else}}
92
- <a class="delete-branch-button" href data-url="{{$.Link}}/delete?name={{.Name | urlquery}}" data-name="{{.Name}}"><i class="trash icon text red"></i></a>
92
+ <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>
93
93
{{end}}
94
94
</td>
95
95
{{end}}
You can’t perform that action at this time.
0 commit comments