mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-16 01:11:49 +02:00
Compare commits
5 commits
22d906c863
...
a87b401d4f
Author | SHA1 | Date | |
---|---|---|---|
![]() |
a87b401d4f | ||
![]() |
05742347c3 | ||
bd689f931a | |||
67938eabbc | |||
![]() |
e061d9314a |
3 changed files with 5 additions and 4 deletions
|
@ -236,7 +236,8 @@
|
|||
{{ input(form.weight) }}
|
||||
</fieldset>
|
||||
<div class="actions">
|
||||
{{ form.submit(class="btn btn-primary") }}
|
||||
<button class="btn btn-secondary input-group-addon" type="submit">{{ _("Save") }}</button>
|
||||
<a href="{{ url_for(".list_bills") }}" class="btn btn-outline-secondary"> {{_("Cancel") }} </a>
|
||||
</div>
|
||||
{% endmacro %}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
</tr>
|
||||
</thead>
|
||||
{%- endif %}
|
||||
{%- for member in g.project.members | sort(attribute='name') if member.activated or balance[member.id]|round(2) != 0 %}
|
||||
{%- for member in g.project.members | sort(attribute='name') if member.activated or balance[member.id]|round(2)|abs > 0.01 %}
|
||||
<tr id="bal-member-{{ member.id }}" action="{% if member.activated %}delete{% else %}reactivate{% endif %}">
|
||||
<td class="balance-name">{{ member.name }}
|
||||
{%- if show_weight -%}
|
||||
|
@ -61,4 +61,4 @@
|
|||
{% endblock %}
|
||||
|
||||
{# It must be set outside of the block definition #}
|
||||
{% set messages_shown = True %}
|
||||
{% set messages_shown = True %}
|
||||
|
|
|
@ -65,7 +65,7 @@ dev = [
|
|||
]
|
||||
doc = [
|
||||
"Sphinx>=7.0.1,<9",
|
||||
"docutils==0.20.1",
|
||||
"docutils==0.21.2",
|
||||
"myst-parser>=2,<5",
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in a new issue