mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-16 09:21:48 +02:00
Compare commits
5 commits
bcc47c97b9
...
ff85f65113
Author | SHA1 | Date | |
---|---|---|---|
![]() |
ff85f65113 | ||
![]() |
05742347c3 | ||
bd689f931a | |||
67938eabbc | |||
![]() |
b6cfeecf69 |
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 %}
|
||||
|
|
|
@ -44,7 +44,7 @@ dependencies = [
|
|||
"python-dateutil",
|
||||
"qrcode>=7.1,<9",
|
||||
"requests>=2.25,<3",
|
||||
"SQLAlchemy>=1.3.0,<1.5",
|
||||
"SQLAlchemy>=1.3.0,<2.1",
|
||||
"SQLAlchemy-Continuum>=1.3.12,<2", # New 1.4 changes API, see #728
|
||||
"Werkzeug>=2,<3",
|
||||
"WTForms>=2.3.3,<3.3",]
|
||||
|
|
Loading…
Reference in a new issue