diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-29 18:45:22 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-29 18:45:22 +0800 |
commit | bf2e76fc7ef187ce3b3e1ed9172cedf55d8fd5cb (patch) | |
tree | 66214969c0b23e73e61ad65e58e80167822fd982 | |
parent | d01820c125669367b7a585d767d5f11e73a701c2 (diff) | |
download | gitea-bf2e76fc7ef187ce3b3e1ed9172cedf55d8fd5cb.tar.gz gitea-bf2e76fc7ef187ce3b3e1ed9172cedf55d8fd5cb.zip |
change issue reopen and close btn
-rw-r--r-- | templates/issue/view.tmpl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/templates/issue/view.tmpl b/templates/issue/view.tmpl index 6f0a384800..516206da96 100644 --- a/templates/issue/view.tmpl +++ b/templates/issue/view.tmpl @@ -87,10 +87,8 @@ <div class="text-right"> <div class="form-group"> {{if .Issue.IsClosed}} - <input type="hidden" value="reopen" name="change_status"/> - <button class="btn-default btn issue-open" id="issue-open-btn" data-origin="Re-Open" data-text="Re-Open & Comment">Reopen</button>{{else}} - <input type="hidden" value="close" name="change_status"/> - <button class="btn-default btn issue-close" id="issue-close-btn" data-origin="Close" data-text="Close & Comment">Close</button>{{end}} + <input type="submit" class="btn-default btn issue-open" id="issue-open-btn" data-origin="Re-Open" data-text="Re-Open & 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}} <button class="btn-success btn" id="issue-reply-btn">Comment</button> </div> </div> |