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 a81c785 commit da7f700Copy full SHA for da7f700
templates/repo/issue/sidebar/development.tmpl
@@ -3,7 +3,8 @@
3
4
<span class="text"><strong>{{ctx.Locale.Tr "repo.issues.development"}}</strong></span>
5
<div class="ui devlinks list">
6
- {{if not .Issue.IsClosed}}
+ {{/* AllowedRepos not empty means login user can create new branch in some of the repositories */}}
7
+ {{if and (not .Issue.IsClosed) .AllowedRepos}}
8
<div class="tw-items-center">
9
<a class="tw-mt-1 fluid ui show-modal" data-modal="#create_branch">{{ctx.Locale.Tr "repo.branch.new_branch"}}</a>
10
</div>
0 commit comments