diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2021-10-17 01:28:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-17 01:28:04 +0800 |
commit | 1a7473ff459479a7fd3ba62a0b7b04b237565bed (patch) | |
tree | 518aab9c14f36ed012831b389c0370adef2ab738 /templates | |
parent | 3728f1daa08e4c228db212844612555e9e2904df (diff) | |
download | gitea-1a7473ff459479a7fd3ba62a0b7b04b237565bed.tar.gz gitea-1a7473ff459479a7fd3ba62a0b7b04b237565bed.zip |
Split `index.js` to separate files (#17315)
* split `index.js` to separate files
* tune clipboard
* fix promise
* fix document
* remove intermediate empty file
* fix async event listener
* use `export function` instead of `export {}`, add more comments
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/branch/list.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/branch/list.tmpl b/templates/repo/branch/list.tmpl index 1e21863ee1..cadf91df04 100644 --- a/templates/repo/branch/list.tmpl +++ b/templates/repo/branch/list.tmpl @@ -125,7 +125,7 @@ {{if .IsDeleted}} <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}}"> + <a class="ui basic jump button icon poping up delete-button 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-trash"}} </a> {{end}} |