mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-17 01:31:49 +02:00
Compare commits
4 commits
dc8db8eddd
...
8bd235c799
Author | SHA1 | Date | |
---|---|---|---|
![]() |
8bd235c799 | ||
![]() |
05742347c3 | ||
bd689f931a | |||
67938eabbc |
2 changed files with 4 additions and 3 deletions
|
@ -236,7 +236,8 @@
|
||||||
{{ input(form.weight) }}
|
{{ input(form.weight) }}
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<div class="actions">
|
<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>
|
</div>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
{%- endif %}
|
{%- 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 %}">
|
<tr id="bal-member-{{ member.id }}" action="{% if member.activated %}delete{% else %}reactivate{% endif %}">
|
||||||
<td class="balance-name">{{ member.name }}
|
<td class="balance-name">{{ member.name }}
|
||||||
{%- if show_weight -%}
|
{%- if show_weight -%}
|
||||||
|
@ -61,4 +61,4 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{# It must be set outside of the block definition #}
|
{# It must be set outside of the block definition #}
|
||||||
{% set messages_shown = True %}
|
{% set messages_shown = True %}
|
||||||
|
|
Loading…
Reference in a new issue