mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
feat: cancel button for comment editing
Adds button that allows cancellation while editing a comment Signed-off-by: moson-mo <mo-son@mailbox.org>
This commit is contained in:
parent
52c962a590
commit
7d1827ffc5
4 changed files with 35 additions and 0 deletions
|
@ -33,6 +33,11 @@ Routes:
|
|||
<button type="submit" class="button">
|
||||
{{ ("Save" if comment else "Add Comment") | tr }}
|
||||
</button>
|
||||
{% if comment %}
|
||||
<button type="submit" class="button" name="cancel" value="true">
|
||||
{{ "Cancel" | tr }}
|
||||
</button>
|
||||
{% endif %}
|
||||
{% if not request.user.notified(pkgbase) %}
|
||||
<span class="comment-enable-notifications">
|
||||
<input type="checkbox" name="enable_notifications"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue