File tree Expand file tree Collapse file tree 1 file changed +10
-13
lines changed
templates/repo/issue/view_content Expand file tree Collapse file tree 1 file changed +10
-13
lines changed Original file line number Diff line number Diff line change 193193
194194 {{if .IsProjectsEnabled}}
195195 <div class="ui divider"></div>
196-
196+
197197 <div class="ui {{if or (not .HasIssuesOrPullsWritePermission) .Repository.IsArchived}}disabled{{end}} floating jump select-project dropdown">
198198 <span class="text">
199199 <strong>{{.i18n.Tr "repo.issues.new.projects"}}</strong>
518518 {{ if and .IsRepoAdmin (not .Repository.IsArchived) }}
519519 <div class="ui divider"></div>
520520 <div class="ui watching">
521- <div>
522- <button class="fluid ui show-modal button {{if .Issue.IsLocked }} negative {{ end }}" data-modal="#lock">
523- {{if .Issue.IsLocked}}
524- {{svg "octicon-key"}}
525- {{.i18n.Tr "repo.issues.unlock"}}
526- {{else}}
527- {{svg "octicon-lock"}}
528- {{.i18n.Tr "repo.issues.lock"}}
529- {{end}}
530- </button>
531- </form>
532- </div>
521+ <button class="fluid ui show-modal button {{if .Issue.IsLocked }} negative {{ end }}" data-modal="#lock">
522+ {{if .Issue.IsLocked}}
523+ {{svg "octicon-key"}}
524+ {{.i18n.Tr "repo.issues.unlock"}}
525+ {{else}}
526+ {{svg "octicon-lock"}}
527+ {{.i18n.Tr "repo.issues.lock"}}
528+ {{end}}
529+ </button>
533530 </div>
534531
535532
You can’t perform that action at this time.
0 commit comments