Skip to content

Commit 587b298

Browse files
committed
Share condition for project board btn
1 parent 1dd5575 commit 587b298

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

templates/repo/projects/view.tmpl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
<div class="column right aligned">
1010
{{if and .CanWriteProjects (not .Repository.IsArchived) .PageIsProjects}}
1111
<a class="ui green button show-modal item" href="{{$.RepoLink}}/issues/new?project={{$.Project.ID}}">{{.i18n.Tr "repo.issues.new"}}</a>
12-
{{end}}
13-
{{if and .CanWriteProjects (not .Repository.IsArchived) .PageIsProjects}}
1412
<a class="ui green button show-modal item" data-modal="#new-board-item">{{.i18n.Tr "new_project_board"}}</a>
1513
{{end}}
1614
<div class="ui small modal" id="new-board-item">

0 commit comments

Comments
 (0)