Browse Source

Add missing merge moderation template

main
Benjamin Southall 6 years ago
committed by discomrade
parent
commit
66793eee6d
  1. 40
      templates/mod/merge.html

40
templates/mod/merge.html

@ -0,0 +1,40 @@
<form action="?/{{ board }}/merge/{{ post }}" method="post">
<input type="hidden" name="token" value="{{ token }}">
<table>
<tr>
<th>
{% trans 'Thread ID' %}
</th>
<td>
&gt;&gt;&gt;{{ config.board_abbreviation|sprintf(board) }}{{ post }}
</td>
</tr>
<tr>
<th>{% trans 'Target board' %}</th>
<td>
<ul style="list-style:none;padding:0">
{% for targetboard in boards %}
<li>
<input type="radio" name="board" value="{{ targetboard.uri }}" id="ban-board-{{ targetboard.uri }}" {% if boards|count == 2 %}checked{% endif %}>
<label style="display:inline" for="ban-board-{{ targetboard.uri }}">
{{ config.board_abbreviation|sprintf(targetboard.uri) }} - {{ targetboard.title|e }}
</label>
</li>
{% endfor %}
</ul>
</td>
</tr>
<tr>
<th>{% trans 'Target thread' %}</th>
<td>
<p>Please specify the thread you want to merge the thread with, if you specify a post, the thread of that post will be used.:</p>
<input type="text" name="target_thread"/>
</td>
</tr>
</table>
<ul style="padding:0;text-align:center;list-style:none">
<li><input type="submit" value="{% trans 'Merge thread' %}"></li>
</ul>
</form>
Loading…
Cancel
Save