diff options
author | Unknown <joe2010xtmf@163.com> | 2014-05-02 19:23:06 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-05-02 19:23:06 -0400 |
commit | e10096ee2e7985cfd73553f52b09994af025cd93 (patch) | |
tree | e04108974c3960c4cdaac7c26b3ca198869d8772 /templates/issue | |
parent | a9e6d49dc6f7070538ac24de2134b3dcba8d9e87 (diff) | |
download | gitea-e10096ee2e7985cfd73553f52b09994af025cd93.tar.gz gitea-e10096ee2e7985cfd73553f52b09994af025cd93.zip |
Mirror fix on UI
Diffstat (limited to 'templates/issue')
-rw-r--r-- | templates/issue/view.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/issue/view.tmpl b/templates/issue/view.tmpl index 16d60d3584..90c9361241 100644 --- a/templates/issue/view.tmpl +++ b/templates/issue/view.tmpl @@ -86,9 +86,9 @@ </div> <div class="text-right"> <div class="form-group"> - {{if .Issue.IsClosed}} + {{if .IsIssueOwner}}{{if .Issue.IsClosed}} <input type="submit" class="btn-default btn issue-open" id="issue-open-btn" data-origin="Reopen" data-text="Reopen & Comment" name="change_status" value="Reopen"/>{{else}} - <input type="submit" class="btn-default btn issue-close" id="issue-close-btn" data-origin="Close" data-text="Close & Comment" name="change_status" value="Close"/>{{end}} + <input type="submit" class="btn-default btn issue-close" id="issue-close-btn" data-origin="Close" data-text="Close & Comment" name="change_status" value="Close"/>{{end}}{{end}} <button class="btn-success btn" id="issue-reply-btn">Comment</button> </div> </div> |