mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-12-22 22:01:48 +01:00
Display path rank as badge
This commit is contained in:
parent
ca32576054
commit
ca394f19a3
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
{% load character_extras %}
|
||||
<div class="col-12 col-md-6 col-xl-4">
|
||||
<h5>
|
||||
{{ path.display_name }} ({{ path|max_rank:character }})
|
||||
{{ path.display_name }} <span class="badge text-bg-dark rounded-pill">{{ path|max_rank:character }}</span>
|
||||
{% if character|managed_by:user %}
|
||||
<div class="btn-group btn-group-sm">
|
||||
<button hx-get="{% url "character:remove_last_in_path" character_pk=character.pk path_pk=path.pk %}"
|
||||
|
|
Loading…
Reference in a new issue