Suppression Kfet et traduction (+fix notequal)

This commit is contained in:
Jean-Baptiste Doderlein 2023-11-08 10:58:23 +01:00
parent b280647c35
commit 55417313c0
14 changed files with 6844 additions and 3276 deletions

View file

@ -7,8 +7,13 @@ SPDX-License-Identifier: GPL-3.0-or-later
<input type="text"
{% if widget.value != None and widget.value != "" %}value="{{ widget.value }}"{% endif %}
name="{{ widget.name }}_name" autocomplete="off"
{% for name, value in widget.attrs.items %}
{% ifnotequal value False %}{{ name }}{% ifnotequal value True %}="{{ value|stringformat:'s' }}"{% endifnotequal %}{% endifnotequal %}
{% for name, value in widget.attrs.items %}
{% if value != False %}
{{ name }}
{% if value != True %}
="{{ value|stringformat:'s' }}"
{% endif %}
{% endif %}
{% endfor %}
aria-describedby="{{widget.attrs.id}}_tooltip">
{% if widget.resetable %}

View file

@ -66,7 +66,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
<a class="nav-link {% if request.path_info == url %}active{% endif %}" href="{{ url }}"><i class="fa fa-coffee"></i> {% trans 'Consumptions' %}</a>
</li>
{% endif %}
{% if user.is_authenticated and user|is_member:"Kfet" %}
{% if user.is_authenticated and user|is_member:"Sinfonie" %}
<li class="nav-item">
{% url 'note:transfer' as url %}
<a class="nav-link {% if request.path_info == url %}active{% endif %}" href="{{ url }}"><i class="fa fa-exchange"></i> {% trans 'Transfer' %} </a>

View file

@ -14,7 +14,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
<div class="alert alert-warning">
{% blocktrans trimmed %}
If you already signed up, your registration is taken into account. The BDE must validate
your account before your can log in. You have to go to the Kfet and pay the registration fee. You must also
your account before your can log in. You have to pay the registration fee. You must also
validate your email address by following the link you received.
{% endblocktrans %}
</div>