0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-18 13:24:27 +01:00

change issue reopen and close btn

This commit is contained in:
FuXiaoHei 2014-03-29 18:45:22 +08:00
parent d01820c125
commit bf2e76fc7e

View file

@ -87,10 +87,8 @@
<div class="text-right"> <div class="text-right">
<div class="form-group"> <div class="form-group">
{{if .Issue.IsClosed}} {{if .Issue.IsClosed}}
<input type="hidden" value="reopen" name="change_status"/> <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}}
<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="submit" class="btn-default btn issue-close" id="issue-close-btn" data-origin="Close" data-text="Close & Comment" name="change_status" value="Close"/>{{end}}&nbsp;&nbsp;
<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}}&nbsp;&nbsp;
<button class="btn-success btn" id="issue-reply-btn">Comment</button> <button class="btn-success btn" id="issue-reply-btn">Comment</button>
</div> </div>
</div> </div>