File tree 1 file changed +10
-13
lines changed
templates/repo/issue/view_content 1 file changed +10
-13
lines changed Original file line number Diff line number Diff line change 193
193
194
194
{{if .IsProjectsEnabled}}
195
195
<div class="ui divider"></div>
196
-
196
+
197
197
<div class="ui {{if or (not .HasIssuesOrPullsWritePermission) .Repository.IsArchived}}disabled{{end}} floating jump select-project dropdown">
198
198
<span class="text">
199
199
<strong>{{.i18n.Tr "repo.issues.new.projects"}}</strong>
518
518
{{ if and .IsRepoAdmin (not .Repository.IsArchived) }}
519
519
<div class="ui divider"></div>
520
520
<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>
533
530
</div>
534
531
535
532
You can’t perform that action at this time.
0 commit comments