diff options
author | Unknwon <u@gogs.io> | 2016-08-28 01:41:44 -0700 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-08-28 01:41:44 -0700 |
commit | 0114fdcba40270731d59fe24e8fa6c6147d69e01 (patch) | |
tree | 3cd62e41ad1ed6172e2ba1c16a5e06df39be147d /templates/repo/branch_dropdown.tmpl | |
parent | dad5c155202a79514e60e73ac019191218167d35 (diff) | |
download | gitea-0114fdcba40270731d59fe24e8fa6c6147d69e01.tar.gz gitea-0114fdcba40270731d59fe24e8fa6c6147d69e01.zip |
Web editor: improve delete file process
Diffstat (limited to 'templates/repo/branch_dropdown.tmpl')
-rw-r--r-- | templates/repo/branch_dropdown.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/branch_dropdown.tmpl b/templates/repo/branch_dropdown.tmpl index 4d37481a2f..ae09b25246 100644 --- a/templates/repo/branch_dropdown.tmpl +++ b/templates/repo/branch_dropdown.tmpl @@ -1,5 +1,5 @@ <div class="fitted item choose reference"> - <div id="branch-dropdown" class="ui floating filter dropdown" data-no-results="{{.i18n.Tr "repo.pulls.no_results"}}"> + <div class="ui floating filter dropdown" data-no-results="{{.i18n.Tr "repo.pulls.no_results"}}"> <div class="ui basic small button"> <span class="text"> <i class="octicon octicon-git-branch"></i> @@ -31,12 +31,12 @@ </div> <div id="branch-list" class="scrolling menu" {{if .IsViewTag}}style="display: none"{{end}}> {{range .Branches}} - <div class="item {{if eq $.BranchName .}}selected{{end}}" data-url="{{$.RepoLink}}/{{if $.PageIsCommits}}commits{{else}}src{{end}}/{{EscapePound .}}{{if $.TreeName}}/{{EscapePound $.TreeName}}{{end}}">{{.}}</div> + <div class="item {{if eq $.BranchName .}}selected{{end}}" data-url="{{$.RepoLink}}/{{if $.PageIsCommits}}commits{{else}}src{{end}}/{{EscapePound .}}{{if $.TreePath}}/{{EscapePound $.TreePath}}{{end}}">{{.}}</div> {{end}} </div> <div id="tag-list" class="scrolling menu" {{if not .IsViewTag}}style="display: none"{{end}}> {{range .Tags}} - <div class="item {{if eq $.BranchName .}}selected{{end}}" data-url="{{$.RepoLink}}/{{if $.PageIsCommits}}commits{{else}}src{{end}}/{{EscapePound .}}{{if $.TreeName}}/{{EscapePound $.TreeName}}{{end}}">{{.}}</div> + <div class="item {{if eq $.BranchName .}}selected{{end}}" data-url="{{$.RepoLink}}/{{if $.PageIsCommits}}commits{{else}}src{{end}}/{{EscapePound .}}{{if $.TreePath}}/{{EscapePound $.TreePath}}{{end}}">{{.}}</div> {{end}} </div> </div> |