mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-10 11:59:23 +00:00
feat: picture moderation requests
This commit is contained in:
28
sas/templates/sas/ask_picture_removal.jinja
Normal file
28
sas/templates/sas/ask_picture_removal.jinja
Normal file
@ -0,0 +1,28 @@
|
||||
{% extends "core/base.jinja" %}
|
||||
|
||||
{% block title %}
|
||||
{% trans %}SAS{% endtrans %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
<h1>{% trans %}Image removal request{% endtrans %}</h1>
|
||||
<form action="" method="post">
|
||||
{% csrf_token %}
|
||||
{{ form.non_field_errors() }}
|
||||
<div class="helptext">
|
||||
{{ form.reason.help_text }}
|
||||
</div>
|
||||
{{ form.reason }}
|
||||
<br/>
|
||||
<br/>
|
||||
<a class="clickable btn btn-grey" href="{{ object.get_absolute_url() }}">
|
||||
{% trans %}Cancel{% endtrans %}
|
||||
</a>
|
||||
<input
|
||||
class="btn btn-blue"
|
||||
type="submit"
|
||||
value="{% trans %}Request removal{% endtrans %}"
|
||||
>
|
||||
</form>
|
||||
{% endblock content %}
|
@ -96,7 +96,9 @@
|
||||
{% trans %}HD version{% endtrans %}
|
||||
</a>
|
||||
<br>
|
||||
<a class="text danger" href="?ask_removal">{% trans %}Ask for removal{% endtrans %}</a>
|
||||
<a class="text danger" :href="`/sas/picture/${currentPicture.id}/report`">
|
||||
{% trans %}Ask for removal{% endtrans %}
|
||||
</a>
|
||||
</div>
|
||||
<div class="buttons">
|
||||
<a class="button" :href="`/sas/picture/${currentPicture.id}/edit/`"><i class="fa-regular fa-pen-to-square edit-action"></i></a>
|
||||
|
Reference in New Issue
Block a user