mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-16 09:21:48 +02:00
Compare commits
5 commits
dc8db8eddd
...
8bd235c799
Author | SHA1 | Date | |
---|---|---|---|
![]() |
8bd235c799 | ||
![]() |
05742347c3 | ||
bd689f931a | |||
67938eabbc | |||
![]() |
3f4ded4044 |
3 changed files with 5 additions and 4 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 %}
|
||||||
|
|
|
@ -36,7 +36,7 @@ dependencies = [
|
||||||
"Flask-Mail>=0.9.1,<1",
|
"Flask-Mail>=0.9.1,<1",
|
||||||
"Flask-Migrate>=2.5.3,<5", # Not following semantic versioning (e.g. https://github.com/miguelgrinberg/flask-migrate/commit/1af28ba273de6c88544623b8dc02dd539340294b)
|
"Flask-Migrate>=2.5.3,<5", # Not following semantic versioning (e.g. https://github.com/miguelgrinberg/flask-migrate/commit/1af28ba273de6c88544623b8dc02dd539340294b)
|
||||||
"Flask-RESTful>=0.3.9,<1",
|
"Flask-RESTful>=0.3.9,<1",
|
||||||
"Flask-SQLAlchemy>=2.4,<3",
|
"Flask-SQLAlchemy>=2.4,<4",
|
||||||
"Flask-Talisman>=0.8,<2",
|
"Flask-Talisman>=0.8,<2",
|
||||||
"Flask-WTF>=0.14.3,<2",
|
"Flask-WTF>=0.14.3,<2",
|
||||||
"itsdangerous>=2,<3",
|
"itsdangerous>=2,<3",
|
||||||
|
|
Loading…
Reference in a new issue