Skip to content

Commit

Permalink
Hide delete issue button
Browse files Browse the repository at this point in the history
  • Loading branch information
zjjhot committed Mar 9, 2022
1 parent 302fe1f commit a15b0f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/repo/issue/view_content/sidebar.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,8 @@
</form>
</div>
</div>
<button class="fluid ui show-modal button negative mt-3" data-modal="#delete">
<!-- Hide delete issue button -->
<button class="fluid ui show-modal button negative mt-3" style="display: none" data-modal="#delete">
{{svg "octicon-trash"}}
{{.i18n.Tr "repo.issues.delete"}}
</button>
Expand Down

0 comments on commit a15b0f1

Please sign in to comment.