summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/create.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/issue/create.tmpl')
-rw-r--r--templates/repo/issue/create.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/repo/issue/create.tmpl b/templates/repo/issue/create.tmpl
index 34cecc78bd..b548b1e749 100644
--- a/templates/repo/issue/create.tmpl
+++ b/templates/repo/issue/create.tmpl
@@ -15,6 +15,7 @@
<input class="form-control input-lg" type="text" name="title" required="required" placeholder="Title" value="{{.title}}" />
</div>
<div class="form-group panel-body">
+ {{if .IsRepositoryOwner}}
<span><strong id="assigned" data-no-assigned="No one">No one</strong> will be assigned</span>
<input type="hidden" name="assigneeid" value="0" id="assignee"/>&nbsp;&nbsp;
<div style="display: inline-block;position: relative">
@@ -82,6 +83,7 @@
</div>
</div>
</div>
+ {{end}}
<div class="form-group panel-body">
<div class="md-help pull-right"><!-- todo help link -->
Content with <a href="https://help.github.com/articles/markdown-basics">Markdown</a>