mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-11-22 22:48:03 +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 %}
|
{% load character_extras %}
|
||||||
<div class="col-12 col-md-6 col-xl-4">
|
<div class="col-12 col-md-6 col-xl-4">
|
||||||
<h5>
|
<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 %}
|
{% if character|managed_by:user %}
|
||||||
<div class="btn-group btn-group-sm">
|
<div class="btn-group btn-group-sm">
|
||||||
<button hx-get="{% url "character:remove_last_in_path" character_pk=character.pk path_pk=path.pk %}"
|
<button hx-get="{% url "character:remove_last_in_path" character_pk=character.pk path_pk=path.pk %}"
|
||||||
|
|
Loading…
Reference in a new issue