mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-16 01:11:49 +02:00
Compare commits
5 commits
34d3dbe750
...
b96d5978a2
Author | SHA1 | Date | |
---|---|---|---|
![]() |
b96d5978a2 | ||
![]() |
05742347c3 | ||
bd689f931a | |||
67938eabbc | |||
![]() |
436be5ac03 |
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 %}
|
||||
|
|
|
@ -32,7 +32,7 @@ dependencies = [
|
|||
"Flask>=2,<4",
|
||||
"Flask-Babel>=1.0,<4",
|
||||
"Flask-Cors>=3.0.8,<6",
|
||||
"Flask-Limiter>=2.6,<3",
|
||||
"Flask-Limiter>=2.6,<4",
|
||||
"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-RESTful>=0.3.9,<1",
|
||||
|
|
Loading…
Reference in a new issue