File tree 1 file changed +9
-12
lines changed
templates/repo/issue/view_content
1 file changed +9
-12
lines changed Original file line number Diff line number Diff line change 527
527
{{ if and .IsRepoAdmin (not .Repository.IsArchived) }}
528
528
<div class="ui divider"></div>
529
529
<div class="ui watching">
530
- <div>
531
- <button class="fluid ui show-modal button {{if .Issue.IsLocked }} negative {{ end }}" data-modal="#lock">
532
- {{if .Issue.IsLocked}}
533
- {{svg "octicon-key"}}
534
- {{.i18n.Tr "repo.issues.unlock"}}
535
- {{else}}
536
- {{svg "octicon-lock"}}
537
- {{.i18n.Tr "repo.issues.lock"}}
538
- {{end}}
539
- </button>
540
- </form>
541
- </div>
530
+ <button class="fluid ui show-modal button {{if .Issue.IsLocked }} negative {{ end }}" data-modal="#lock">
531
+ {{if .Issue.IsLocked}}
532
+ {{svg "octicon-key"}}
533
+ {{.i18n.Tr "repo.issues.unlock"}}
534
+ {{else}}
535
+ {{svg "octicon-lock"}}
536
+ {{.i18n.Tr "repo.issues.lock"}}
537
+ {{end}}
538
+ </button>
542
539
</div>
543
540
544
541
You can’t perform that action at this time.
0 commit comments