|
|
|
@ -206,16 +206,16 @@
|
|
|
|
|
<div class="text right"> |
|
|
|
|
{{if and .IsIssueOwner (not .DisableStatusChange)}} |
|
|
|
|
{{if .Issue.IsClosed}} |
|
|
|
|
<div id="status-button" class="ui green basic button" data-status="{{.i18n.Tr "repo.issues.reopen_issue"}}" data-status-and-comment="{{.i18n.Tr "repo.issues.reopen_comment_issue"}}" data-status-val="reopen"> |
|
|
|
|
<div id="status-button" class="ui green basic button" tabindex="6" data-status="{{.i18n.Tr "repo.issues.reopen_issue"}}" data-status-and-comment="{{.i18n.Tr "repo.issues.reopen_comment_issue"}}" data-status-val="reopen"> |
|
|
|
|
{{.i18n.Tr "repo.issues.reopen_issue"}} |
|
|
|
|
</div> |
|
|
|
|
{{else}} |
|
|
|
|
<div id="status-button" class="ui red basic button" tabindex="3" data-status="{{.i18n.Tr "repo.issues.close_issue"}}" data-status-and-comment="{{.i18n.Tr "repo.issues.close_comment_issue"}}" data-status-val="close"> |
|
|
|
|
<div id="status-button" class="ui red basic button" tabindex="6" data-status="{{.i18n.Tr "repo.issues.close_issue"}}" data-status-and-comment="{{.i18n.Tr "repo.issues.close_comment_issue"}}" data-status-val="close"> |
|
|
|
|
{{.i18n.Tr "repo.issues.close_issue"}} |
|
|
|
|
</div> |
|
|
|
|
{{end}} |
|
|
|
|
{{end}} |
|
|
|
|
<button class="ui green button" tabindex="2"> |
|
|
|
|
<button class="ui green button" tabindex="5"> |
|
|
|
|
{{.i18n.Tr "repo.issues.create_comment"}} |
|
|
|
|
</button> |
|
|
|
|
</div> |
|
|
|
|