Limits number of characters on quickselect to 10.

This commit is contained in:
Johnny 2018-10-05 19:01:05 +00:00
parent 3c0f02d66d
commit ae84ba0ed2

View file

@ -46,7 +46,7 @@ folder and edit it to add/remove links to the menu.
<a class="dropdown-item" href="{% url 'chargen' %}">Create</a>
<a class="dropdown-item" href="#">Manage</a>
<div class="dropdown-divider"></div>
{% for character in user.characters %}
{% for character in user.characters|slice:"10" %}
<a class="dropdown-item" href="#">{{ character }}</a>
{% empty %}
<a class="dropdown-item" href="#">No characters found!</a>