mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-15 09:55:49 +01:00
(refs #11) Add permission to html.
This commit is contained in:
@@ -217,8 +217,10 @@
|
|||||||
@issues.map { case (issue, labels, commentCount) =>
|
@issues.map { case (issue, labels, commentCount) =>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
|
@if(hasWritePermission){
|
||||||
<label class="checkbox" style="cursor: default;">
|
<label class="checkbox" style="cursor: default;">
|
||||||
<input type="checkbox" value="@issue.issueId"/>
|
<input type="checkbox" value="@issue.issueId"/>
|
||||||
|
}
|
||||||
<a href="@url(repository)/issues/@issue.issueId" class="issue-title">@issue.title</a>
|
<a href="@url(repository)/issues/@issue.issueId" class="issue-title">@issue.title</a>
|
||||||
@labels.map { label =>
|
@labels.map { label =>
|
||||||
<span class="label-color small" style="background-color: #@label.color; color: #@label.fontColor; padding-left: 4px; padding-right: 4px">@label.labelName</span>
|
<span class="label-color small" style="background-color: #@label.color; color: #@label.fontColor; padding-left: 4px; padding-right: 4px">@label.labelName</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user