Skip to content

Commit

Permalink
Fix user page ban list styling for multiple bans (nyaadevs#460)
Browse files Browse the repository at this point in the history
Change each ban to be a bullet point in an unordered list.
  • Loading branch information
CounterPillow authored and Arylide committed Mar 25, 2018
1 parent c405f49 commit dd4510f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nyaa/templates/user.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ <h3 class="panel-title">Danger Zone</h3>
{% 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">
Expand Down

0 comments on commit dd4510f

Please sign in to comment.