We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91ee3be commit 855a4f4Copy full SHA for 855a4f4
templates/repo/issue/view_content/sidebar.tmpl
@@ -195,7 +195,9 @@
195
<div class="ui {{if or (not .HasIssuesOrPullsWritePermission) .Repository.IsArchived}}disabled{{end}} floating jump select-project dropdown">
196
<span class="text">
197
<strong>{{.i18n.Tr "repo.issues.new.projects"}}</strong>
198
- {{svg "octicon-gear"}}
+ {{if and .HasIssuesOrPullsWritePermission (not .Repository.IsArchived)}}
199
+ {{svg "octicon-gear"}}
200
+ {{end}}
201
</span>
202
<div class="menu" data-action="update" data-issue-id="{{$.Issue.ID}}" data-update-url="{{$.RepoLink}}/issues/projects">
203
<div class="no-select item">{{.i18n.Tr "repo.issues.new.clear_projects"}}</div>
0 commit comments