summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/view.tmpl
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-07-04 16:48:36 -0400
committerUnknown <joe2010xtmf@163.com>2014-07-04 16:48:36 -0400
commitbe8ac7fb75a389402929dd726f39bbbbdb9a6531 (patch)
treeadd27b884bc67d9f04cc13befe081cd64e0706b3 /templates/repo/issue/view.tmpl
parent7f3015b32b27d18300c0baaf26729a89dec43985 (diff)
downloadgitea-be8ac7fb75a389402929dd726f39bbbbdb9a6531.tar.gz
gitea-be8ac7fb75a389402929dd726f39bbbbdb9a6531.zip
fix #273
Diffstat (limited to 'templates/repo/issue/view.tmpl')
-rw-r--r--templates/repo/issue/view.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/repo/issue/view.tmpl b/templates/repo/issue/view.tmpl
index ba1fe16b79..d95fba40d8 100644
--- a/templates/repo/issue/view.tmpl
+++ b/templates/repo/issue/view.tmpl
@@ -119,6 +119,7 @@
<div class="issue-bar col-md-2">
<div class="labels" data-ajax="{{.Issue.Index}}/label">
+ {{if .IsRepositoryOwner}}
<div class="pull-right action">
<button class="btn btn-default btn-sm" data-toggle="dropdown">
<i class="fa fa-tags"></i>
@@ -136,6 +137,7 @@
</ul>
</div>
</div>
+ {{end}}
<h4>Labels</h4>
{{if .Issue.Labels}}
{{range .Issue.Labels}}
@@ -147,6 +149,7 @@
</div>
<div class="milestone" data-milestone="{{.Milestone.Id}}" data-ajax="{{.Issue.Index}}/milestone">
<div class="pull-right action">
+ {{if .IsRepositoryOwner}}
<button class="btn btn-default btn-sm" data-toggle="dropdown">
<i class="fa fa-check-square-o"></i>
<span class="caret"></span>
@@ -193,6 +196,7 @@
</li>
</ul>
</div>
+ {{end}}
</div>
<h4>Milestone</h4>
{{if .Milestone}}