mirror of https://github.com/go-gitea/gitea.git
parent
185c5ae2c4
commit
8d0e331c0a
|
@ -527,18 +527,15 @@
|
||||||
{{ if and .IsRepoAdmin (not .Repository.IsArchived) }}
|
{{ if and .IsRepoAdmin (not .Repository.IsArchived) }}
|
||||||
<div class="ui divider"></div>
|
<div class="ui divider"></div>
|
||||||
<div class="ui watching">
|
<div class="ui watching">
|
||||||
<div>
|
<button class="fluid ui show-modal button {{if .Issue.IsLocked }} negative {{ end }}" data-modal="#lock">
|
||||||
<button class="fluid ui show-modal button {{if .Issue.IsLocked }} negative {{ end }}" data-modal="#lock">
|
{{if .Issue.IsLocked}}
|
||||||
{{if .Issue.IsLocked}}
|
{{svg "octicon-key"}}
|
||||||
{{svg "octicon-key"}}
|
{{.i18n.Tr "repo.issues.unlock"}}
|
||||||
{{.i18n.Tr "repo.issues.unlock"}}
|
{{else}}
|
||||||
{{else}}
|
{{svg "octicon-lock"}}
|
||||||
{{svg "octicon-lock"}}
|
{{.i18n.Tr "repo.issues.lock"}}
|
||||||
{{.i18n.Tr "repo.issues.lock"}}
|
{{end}}
|
||||||
{{end}}
|
</button>
|
||||||
</button>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue