Display some important information under the post form

This commit is contained in:
8chan 2014-12-03 00:18:24 -08:00
parent 8d34866636
commit a564bb8ecc
2 changed files with 13 additions and 1 deletions

View File

@ -819,7 +819,7 @@ pre {
margin-top: 1em; margin-top: 1em;
} }
.new-threads { .new-threads, .board-settings {
text-align: center; text-align: center;
} }

View File

@ -178,3 +178,15 @@
<script type="text/javascript">{% raw %} <script type="text/javascript">{% raw %}
rememberStuff(); rememberStuff();
{% endraw %}</script> {% endraw %}</script>
<p class="unimportant board-settings">
{% if not config.disable_images %}
Allowed file types: {{ config.allowed_ext|join(', ') }}{% if config.allowed_ext_files %}, {{ config.allowed_ext_files|join(', ') }}{% endif %}<br />
Max filesize is {{ config.max_filesize|filesize }}.<br />
Max image dimensions are {{ config.max_height }} x {{ config.max_width }}.<br />
You may upload {{ config.max_images }} per post.<br />
{% endif %}
{% if config.allow_roll %}
You may roll dice on this board, type "dice XdY+Z" in the email field where X is number of dice, Y is max roll and Z is modifier.<br />
{% endif %}
</p>