Fix character translations

This commit is contained in:
Gabriel Augendre 2022-11-02 22:48:32 +01:00
parent a7b013b2b1
commit cb787b7ed5
3 changed files with 5 additions and 5 deletions

View file

@ -10,7 +10,7 @@
PV {{ character.health_remaining }}/{{ character.health_max }}, PM {{ character.mana_remaining }}/{{ character.mana_max }}
</p>
<a href="{% url "character:view" pk=character.pk %}" class="btn btn-sm btn-success">
<i class="fa-solid fa-user"></i> Play
<i class="fa-solid fa-user"></i> Jouer
</a>
</div>
</div>

View file

@ -1,12 +1,12 @@
{% extends "common/base.html" %}
{% load character_extras %}
{% block title %}Characters list{% endblock %}
{% block title %}Liste de personnages{% endblock %}
{% block content %}
<h1>Characters</h1>
<h1>Personnages</h1>
<a href="{% url "character:create" %}" class="btn btn-primary mb-3">
<i class="fa-solid fa-user-plus"></i> New character
<i class="fa-solid fa-user-plus"></i> Nouveau perso
</a>
<div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 row-cols-lg-4 g-4">
{% for character in characters %}

View file

@ -7,7 +7,7 @@
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link" aria-current="page" href="{% url "character:list" %}">Liste</a>
<a class="nav-link" aria-current="page" href="{% url "character:list" %}">Mes perso</a>
</li>
</ul>
<ul class="navbar-nav">