diff options
Diffstat (limited to 'templates/repo')
20 files changed, 31 insertions, 31 deletions
diff --git a/templates/repo/branch/list.tmpl b/templates/repo/branch/list.tmpl index 8176738ff6..87c05e7b42 100644 --- a/templates/repo/branch/list.tmpl +++ b/templates/repo/branch/list.tmpl @@ -116,7 +116,7 @@ <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)}}" data-variation="tiny inverted" data-position="top right"><span class="text blue">{{svg "octicon-reply"}}</span></a> {{else}} <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)}}" data-variation="tiny inverted" data-position="top right" data-name="{{.Name}}"> - {{svg "octicon-trashcan"}} + {{svg "octicon-trash"}} </a> {{end}} {{end}} @@ -134,7 +134,7 @@ <div class="ui small basic delete modal"> <div class="ui icon header"> - {{svg "octicon-trashcan"}} + {{svg "octicon-trash"}} {{.i18n.Tr "repo.branch.delete_html"}} <span class="name"></span> </div> <div class="content"> diff --git a/templates/repo/issue/labels/edit_delete_label.tmpl b/templates/repo/issue/labels/edit_delete_label.tmpl index ed7e585e4e..8e1f914d5f 100644 --- a/templates/repo/issue/labels/edit_delete_label.tmpl +++ b/templates/repo/issue/labels/edit_delete_label.tmpl @@ -1,6 +1,6 @@ <div class="ui small basic delete modal"> <div class="ui icon header"> - {{svg "octicon-trashcan"}} + {{svg "octicon-trash"}} {{.i18n.Tr "repo.issues.label_deletion"}} </div> <div class="content"> diff --git a/templates/repo/issue/labels/label_list.tmpl b/templates/repo/issue/labels/label_list.tmpl index 5b50620b61..4faec9a5ab 100644 --- a/templates/repo/issue/labels/label_list.tmpl +++ b/templates/repo/issue/labels/label_list.tmpl @@ -47,10 +47,10 @@ </div> <div class="three wide column"> {{if and (not $.PageIsOrgSettingsLabels ) (not $.Repository.IsArchived) (or $.CanWriteIssues $.CanWritePulls)}} - <a class="ui right delete-button" href="#" data-url="{{$.Link}}/delete" data-id="{{.ID}}">{{svg "octicon-trashcan"}} {{$.i18n.Tr "repo.issues.label_delete"}}</a> + <a class="ui right delete-button" href="#" data-url="{{$.Link}}/delete" data-id="{{.ID}}">{{svg "octicon-trash"}} {{$.i18n.Tr "repo.issues.label_delete"}}</a> <a class="ui right edit-label-button" href="#" data-id="{{.ID}}" data-title="{{.Name}}" data-description="{{.Description}}" data-color={{.Color}}>{{svg "octicon-pencil"}} {{$.i18n.Tr "repo.issues.label_edit"}}</a> {{else if $.PageIsOrgSettingsLabels}} - <a class="ui right delete-button" href="#" data-url="{{$.Link}}/delete" data-id="{{.ID}}">{{svg "octicon-trashcan"}} {{$.i18n.Tr "repo.issues.label_delete"}}</a> + <a class="ui right delete-button" href="#" data-url="{{$.Link}}/delete" data-id="{{.ID}}">{{svg "octicon-trash"}} {{$.i18n.Tr "repo.issues.label_delete"}}</a> <a class="ui right edit-label-button" href="#" data-id="{{.ID}}" data-title="{{.Name}}" data-description="{{.Description}}" data-color={{.Color}}>{{svg "octicon-pencil"}} {{$.i18n.Tr "repo.issues.label_edit"}}</a> {{end}} </div> diff --git a/templates/repo/issue/milestones.tmpl b/templates/repo/issue/milestones.tmpl index 89ae813d45..ecb7cd95f1 100644 --- a/templates/repo/issue/milestones.tmpl +++ b/templates/repo/issue/milestones.tmpl @@ -76,7 +76,7 @@ {{else}} <a class="link-action" href data-url="{{$.Link}}/{{.ID}}/close">{{svg "octicon-x"}} {{$.i18n.Tr "repo.milestones.close"}}</a> {{end}} - <a class="delete-button" href="#" data-url="{{$.RepoLink}}/milestones/delete" data-id="{{.ID}}">{{svg "octicon-trashcan"}} {{$.i18n.Tr "repo.issues.label_delete"}}</a> + <a class="delete-button" href="#" data-url="{{$.RepoLink}}/milestones/delete" data-id="{{.ID}}">{{svg "octicon-trash"}} {{$.i18n.Tr "repo.issues.label_delete"}}</a> </div> {{end}} {{if .Content}} @@ -95,7 +95,7 @@ {{if or .CanWriteIssues .CanWritePulls}} <div class="ui small basic delete modal"> <div class="ui icon header"> - {{svg "octicon-trashcan"}} + {{svg "octicon-trash"}} {{.i18n.Tr "repo.milestones.deletion"}} </div> <div class="content"> diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl index 0119c12cd8..7ca6485053 100644 --- a/templates/repo/issue/view_content.tmpl +++ b/templates/repo/issue/view_content.tmpl @@ -218,7 +218,7 @@ <div class="ui small basic delete modal"> <div class="ui icon header"> - {{svg "octicon-trashcan"}} + {{svg "octicon-trash"}} {{.i18n.Tr "repo.branch.delete" .HeadTarget }} </div> <div class="content"> diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl index 0aaa806450..0cae8bdf95 100644 --- a/templates/repo/issue/view_content/comments.tmpl +++ b/templates/repo/issue/view_content/comments.tmpl @@ -383,7 +383,7 @@ </span> {{if .DependentIssue}} <div class="detail"> - <span class="text grey">{{svg "octicon-trashcan"}}</span> + <span class="text grey">{{svg "octicon-trash"}}</span> <span class="text grey"> <a href="{{.DependentIssue.HTMLURL}}"> {{if eq .DependentIssue.RepoID .Issue.RepoID}} diff --git a/templates/repo/issue/view_content/comments_delete_time.tmpl b/templates/repo/issue/view_content/comments_delete_time.tmpl index a28d222f86..9ece0f43e2 100644 --- a/templates/repo/issue/view_content/comments_delete_time.tmpl +++ b/templates/repo/issue/view_content/comments_delete_time.tmpl @@ -13,7 +13,7 @@ </div> </div> <button class="ui icon button compact mini issue-delete-time poping up" data-id="{{.comment.Time.ID}}" data-content="{{.ctx.i18n.Tr "repo.issues.del_time"}}" data-position="top right" data-variation="tiny inverted"> - {{svg "octicon-trashcan"}} + {{svg "octicon-trash"}} </button> </span> {{end}} diff --git a/templates/repo/issue/view_content/pull.tmpl b/templates/repo/issue/view_content/pull.tmpl index 2175fad067..d62d4b7609 100644 --- a/templates/repo/issue/view_content/pull.tmpl +++ b/templates/repo/issue/view_content/pull.tmpl @@ -73,7 +73,7 @@ {{if .CanChange }} <a href="#" class="ui poping up icon re-request-review {{if .Checked}}checked{{end}}" data-issue-id="{{$.Issue.ID}}" data-content="{{if .Checked}} {{$.i18n.Tr "repo.issues.remove_request_review"}} {{else}} {{$.i18n.Tr "repo.issues.re_request_review"}} {{end}}" data-id="{{.ItemID}}" data-update-url="{{$.RepoLink}}/issues/request_review"> - {{if .Checked}} {{svg "octicon-trashcan"}} {{else}} {{svg "octicon-sync"}} {{end}} + {{if .Checked}} {{svg "octicon-trash"}} {{else}} {{svg "octicon-sync"}} {{end}} </a> {{end}} {{svg (printf "octicon-%s" .Review.Type.Icon)}} diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index f51f6a5265..872a86e658 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -70,7 +70,7 @@ {{if .CanChange}} <a href="#" class="ui poping up icon re-request-review {{if .Checked}}checked{{end}}" data-content="{{if .Checked}} {{$.i18n.Tr "repo.issues.remove_request_review"}} {{else}} {{$.i18n.Tr "repo.issues.re_request_review"}} {{end}}" data-issue-id="{{$.Issue.ID}}" data-id="{{.ItemID}}" data-update-url="{{$.RepoLink}}/issues/request_review"> - {{if .Checked}} {{svg "octicon-trashcan"}} {{else}} {{svg "octicon-sync"}} {{end}} + {{if .Checked}} {{svg "octicon-trash"}} {{else}} {{svg "octicon-sync"}} {{end}} </a> {{end}} {{svg (printf "octicon-%s" .Review.Type.Icon)}} @@ -469,7 +469,7 @@ {{if and $.CanCreateIssueDependencies (not $.Repository.IsArchived)}} <a class="delete-dependency-button poping up ci" onclick="window.deleteDependencyModal({{.Issue.ID}}, 'blocking');" data-content="{{$.i18n.Tr "repo.issues.dependency.remove_info"}}" data-inverted=""> - {{svg "octicon-trashcan" 16}} + {{svg "octicon-trash" 16}} </a> {{end}} </div> @@ -497,7 +497,7 @@ {{if and $.CanCreateIssueDependencies (not $.Repository.IsArchived)}} <a class="delete-dependency-button poping up ci" onclick="window.deleteDependencyModal({{.Issue.ID}}, 'blockedBy');" data-content="{{$.i18n.Tr "repo.issues.dependency.remove_info"}}" data-inverted=""> - {{svg "octicon-trashcan" 16}} + {{svg "octicon-trash" 16}} </a> {{end}} </div> @@ -536,7 +536,7 @@ <div class="ui basic modal remove-dependency"> <div class="ui icon header"> - {{svg "octicon-trashcan"}} + {{svg "octicon-trash"}} {{.i18n.Tr "repo.issues.dependency.remove_header"}} </div> <div class="content"> diff --git a/templates/repo/projects/list.tmpl b/templates/repo/projects/list.tmpl index 6ea936e8b6..ec7370709f 100644 --- a/templates/repo/projects/list.tmpl +++ b/templates/repo/projects/list.tmpl @@ -59,7 +59,7 @@ {{else}} <a class="link-action" href data-url="{{$.Link}}/{{.ID}}/close">{{svg "octicon-skip"}} {{$.i18n.Tr "repo.projects.close"}}</a> {{end}} - <a class="delete-button" href="#" data-url="{{$.RepoLink}}/projects/{{.ID}}/delete" data-id="{{.ID}}">{{svg "octicon-trashcan"}} {{$.i18n.Tr "repo.issues.label_delete"}}</a> + <a class="delete-button" href="#" data-url="{{$.RepoLink}}/projects/{{.ID}}/delete" data-id="{{.ID}}">{{svg "octicon-trash"}} {{$.i18n.Tr "repo.issues.label_delete"}}</a> </div> {{end}} {{if .Description}} @@ -78,7 +78,7 @@ {{if or .CanWriteIssues .CanWritePulls}} <div class="ui small basic delete modal"> <div class="ui icon header"> - {{svg "octicon-trashcan"}} + {{svg "octicon-trash"}} {{.i18n.Tr "repo.projects.deletion"}} </div> <div class="content"> diff --git a/templates/repo/projects/view.tmpl b/templates/repo/projects/view.tmpl index 1d4a26837e..7a1583e556 100644 --- a/templates/repo/projects/view.tmpl +++ b/templates/repo/projects/view.tmpl @@ -58,7 +58,7 @@ </a> {{end}} <a class="item delete-button" href="#" data-url="{{$.RepoLink}}/projects/{{.Project.ID}}/delete" data-id="{{.Project.ID}}"> - {{svg "octicon-trashcan"}} + {{svg "octicon-trash"}} <span class="mx-3">{{$.i18n.Tr "repo.issues.label_delete"}}</span> </a> </div> @@ -92,7 +92,7 @@ </a> {{end}} <a class="item show-modal button" data-modal="#delete-board-modal-{{.ID}}"> - {{svg "octicon-trashcan"}} + {{svg "octicon-trash"}} {{$.i18n.Tr "repo.projects.board.delete"}} </a> @@ -203,7 +203,7 @@ {{if or .CanWriteIssues .CanWritePulls}} <div class="ui small basic delete modal"> <div class="ui icon header"> - {{svg "octicon-trashcan"}} + {{svg "octicon-trash"}} {{.i18n.Tr "repo.projects.deletion"}} </div> <div class="content"> diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl index 780a75ad89..5271f650ee 100644 --- a/templates/repo/release/list.tmpl +++ b/templates/repo/release/list.tmpl @@ -44,7 +44,7 @@ {{end}} {{if (and ($.Permission.CanWrite $.UnitTypeCode) $release.IsTag)}} <a class="ui red delete-button mr-3" data-url="{{$.RepoLink}}/tags/delete" data-id="{{.ID}}"> - {{svg "octicon-trashcan" 16 "mr-2"}}{{$.i18n.Tr "repo.release.delete_tag"}} + {{svg "octicon-trash" 16 "mr-2"}}{{$.i18n.Tr "repo.release.delete_tag"}} </a> {{end}} {{if (not $release.IsTag)}} @@ -179,7 +179,7 @@ {{if (and ($.Permission.CanWrite $.UnitTypeCode) .PageIsTagList)}} <div class="ui small basic delete modal"> <div class="ui header"> - {{svg "octicon-trashcan" 16 "mr-2"}} + {{svg "octicon-trash" 16 "mr-2"}} {{.i18n.Tr "repo.release.delete_tag"}} </div> <div class="content"> diff --git a/templates/repo/release/new.tmpl b/templates/repo/release/new.tmpl index ef9115d1e2..485cc7138a 100644 --- a/templates/repo/release/new.tmpl +++ b/templates/repo/release/new.tmpl @@ -121,7 +121,7 @@ {{if .PageIsEditRelease}} <div class="ui small basic delete modal"> <div class="ui icon header"> - {{svg "octicon-trashcan"}} + {{svg "octicon-trash"}} {{.i18n.Tr "repo.release.deletion"}} </div> <div class="content"> diff --git a/templates/repo/settings/collaboration.tmpl b/templates/repo/settings/collaboration.tmpl index cb0808714f..864b2968fc 100644 --- a/templates/repo/settings/collaboration.tmpl +++ b/templates/repo/settings/collaboration.tmpl @@ -114,7 +114,7 @@ <div class="ui small basic delete modal"> <div class="ui icon header"> - {{svg "octicon-trashcan"}} + {{svg "octicon-trash"}} {{.i18n.Tr "repo.settings.collaborator_deletion"}} </div> <div class="content"> diff --git a/templates/repo/settings/deploy_keys.tmpl b/templates/repo/settings/deploy_keys.tmpl index 8a75903bce..8e052ac303 100644 --- a/templates/repo/settings/deploy_keys.tmpl +++ b/templates/repo/settings/deploy_keys.tmpl @@ -82,7 +82,7 @@ <div class="ui small basic delete modal"> <div class="ui icon header"> - {{svg "octicon-trashcan"}} + {{svg "octicon-trash"}} {{.i18n.Tr "repo.settings.deploy_key_deletion"}} </div> <div class="content"> diff --git a/templates/repo/settings/lfs.tmpl b/templates/repo/settings/lfs.tmpl index 79477051b3..ab3d0211b6 100644 --- a/templates/repo/settings/lfs.tmpl +++ b/templates/repo/settings/lfs.tmpl @@ -27,7 +27,7 @@ <td class="right aligned"> <a class="ui primary show-panel button" href="{{$.Link}}/find?oid={{.Oid}}&size={{.Size}}">{{$.i18n.Tr "repo.settings.lfs_findcommits"}}</a> <button class="ui basic show-modal icon button" data-modal="#delete-{{.Oid}}"> - <span class="btn-octicon btn-octicon-danger poping up" data-content="{{$.i18n.Tr "repo.editor.delete_this_file"}}" data-position="bottom center" data-variation="tiny inverted">{{svg "octicon-trashcan"}}</span> + <span class="btn-octicon btn-octicon-danger poping up" data-content="{{$.i18n.Tr "repo.editor.delete_this_file"}}" data-position="bottom center" data-variation="tiny inverted">{{svg "octicon-trash"}}</span> </button> </td> </tr> diff --git a/templates/repo/settings/webhook/base_list.tmpl b/templates/repo/settings/webhook/base_list.tmpl index b978a6a19c..7594230545 100644 --- a/templates/repo/settings/webhook/base_list.tmpl +++ b/templates/repo/settings/webhook/base_list.tmpl @@ -52,7 +52,7 @@ <a class="dont-break-out" href="{{$.BaseLink}}/{{.ID}}">{{.URL}}</a> <div class="ui right"> <span class="text blue px-2"><a href="{{$.BaseLink}}/{{.ID}}">{{svg "octicon-pencil"}}</a></span> - <span class="text red px-2"><a class="delete-button" data-url="{{$.Link}}/delete" data-id="{{.ID}}">{{svg "octicon-trashcan"}}</a></span> + <span class="text red px-2"><a class="delete-button" data-url="{{$.Link}}/delete" data-id="{{.ID}}">{{svg "octicon-trash"}}</a></span> </div> </div> {{end}} diff --git a/templates/repo/settings/webhook/delete_modal.tmpl b/templates/repo/settings/webhook/delete_modal.tmpl index f775228ce0..099e9c651c 100644 --- a/templates/repo/settings/webhook/delete_modal.tmpl +++ b/templates/repo/settings/webhook/delete_modal.tmpl @@ -1,6 +1,6 @@ <div class="ui small basic delete modal"> <div class="ui icon header"> - {{svg "octicon-trashcan"}} + {{svg "octicon-trash"}} {{.i18n.Tr "repo.settings.webhook_deletion"}} </div> <div class="content"> diff --git a/templates/repo/view_file.tmpl b/templates/repo/view_file.tmpl index 9beddfb912..be7d651777 100644 --- a/templates/repo/view_file.tmpl +++ b/templates/repo/view_file.tmpl @@ -55,9 +55,9 @@ <span class="btn-octicon poping up disabled" data-content="{{.EditFileTooltip}}" data-position="bottom center" data-variation="tiny inverted">{{svg "octicon-pencil"}}</span> {{end}} {{if .CanDeleteFile}} - <a href="{{.RepoLink}}/_delete/{{EscapePound .BranchName}}/{{EscapePound .TreePath}}"><span class="btn-octicon btn-octicon-danger poping up" data-content="{{.DeleteFileTooltip}}" data-position="bottom center" data-variation="tiny inverted">{{svg "octicon-trashcan"}}</span></a> + <a href="{{.RepoLink}}/_delete/{{EscapePound .BranchName}}/{{EscapePound .TreePath}}"><span class="btn-octicon btn-octicon-danger poping up" data-content="{{.DeleteFileTooltip}}" data-position="bottom center" data-variation="tiny inverted">{{svg "octicon-trash"}}</span></a> {{else}} - <span class="btn-octicon poping up disabled" data-content="{{.DeleteFileTooltip}}" data-position="bottom center" data-variation="tiny inverted">{{svg "octicon-trashcan"}}</span> + <span class="btn-octicon poping up disabled" data-content="{{.DeleteFileTooltip}}" data-position="bottom center" data-variation="tiny inverted">{{svg "octicon-trash"}}</span> {{end}} {{end}} </div> diff --git a/templates/repo/wiki/view.tmpl b/templates/repo/wiki/view.tmpl index afd7096377..0bc5858863 100644 --- a/templates/repo/wiki/view.tmpl +++ b/templates/repo/wiki/view.tmpl @@ -82,7 +82,7 @@ <div class="ui small basic delete modal"> <div class="ui icon header"> - {{svg "octicon-trashcan"}} + {{svg "octicon-trash"}} {{.i18n.Tr "repo.wiki.delete_page_button"}} </div> <div class="content"> |