introduced by #5073 Co-authored-by: KN4CK3R <KN4CK3R@users.noreply.github.com>
This commit is contained in:
parent
cf20ebc8ba
commit
4583caa077
1 changed files with 10 additions and 13 deletions
|
@ -193,7 +193,7 @@
|
||||||
|
|
||||||
{{if .IsProjectsEnabled}}
|
{{if .IsProjectsEnabled}}
|
||||||
<div class="ui divider"></div>
|
<div class="ui divider"></div>
|
||||||
|
|
||||||
<div class="ui {{if or (not .HasIssuesOrPullsWritePermission) .Repository.IsArchived}}disabled{{end}} floating jump select-project dropdown">
|
<div class="ui {{if or (not .HasIssuesOrPullsWritePermission) .Repository.IsArchived}}disabled{{end}} floating jump select-project dropdown">
|
||||||
<span class="text">
|
<span class="text">
|
||||||
<strong>{{.i18n.Tr "repo.issues.new.projects"}}</strong>
|
<strong>{{.i18n.Tr "repo.issues.new.projects"}}</strong>
|
||||||
|
@ -518,18 +518,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>
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in a new issue