mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2025-01-25 00:35:12 +00:00
Fix user page ban list styling for multiple bans (#460)
Change each ban to be a bullet point in an unordered list.
This commit is contained in:
parent
c405f49eb6
commit
dd4510f371
|
@ -78,13 +78,13 @@
|
|||
{% if user.is_banned or bans %}
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<p>
|
||||
<ul>
|
||||
{% for ban in bans %}
|
||||
#{{ ban.id }}
|
||||
<li>#{{ ban.id }}
|
||||
by <a href="{{ url_for('users.view_user', user_name=ban.admin.username) }}">{{ ban.admin.username }}</a>
|
||||
for <span markdown-text-inline>{{ ban.reason }}</span>
|
||||
for <span markdown-text-inline>{{ ban.reason }}</span></li>
|
||||
{% endfor %}
|
||||
</p>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
|
Loading…
Reference in a new issue