File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 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
14071407branch.restore_success = Branch '%s' has been restored.
14081408branch.restore_failed = Failed to restore branch '%s'.
14091409branch.protected_deletion_failed = Branch '%s' is protected. It cannot be deleted.
1410+ branch.restore = Restore Branch '%s'
14101411
14111412topic.manage_topics = Manage Topics
14121413topic.done = Done
Original file line number Diff line number Diff line change 8787 {{if .IsProtected}}
8888 <i class="octicon octicon-shield"></i>
8989 {{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>
9191 {{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>
9393 {{end}}
9494 </td>
9595 {{end}}
You can’t perform that action at this time.
0 commit comments