zmiany w ux
This commit is contained in:
@@ -34,13 +34,13 @@ zbiórki{% endif %}{% endblock %}
|
||||
<div class="d-flex align-items-start justify-content-between gap-2 mb-2">
|
||||
<h5 class="card-title mb-0">{{ z.nazwa }}</h5>
|
||||
|
||||
{# Spójny badge zrealizowania: w zakładce „Zrealizowane” lub gdy >=100% #}
|
||||
{% if is_completed_view or progress_clamped >= 100 %}
|
||||
<span class="badge rounded-pill" style="background: var(--accent); color:#111;">Zrealizowana</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
<hr class="hr-bw">
|
||||
|
||||
<div class="mb-2 d-flex flex-wrap gap-2">
|
||||
<div class="mb-2 d-flex flex-wrap gap-2 justify-content-center">
|
||||
{% if not z.ukryj_kwote %}
|
||||
{% if z.cel > 0 %}
|
||||
<span class="badge bg-dark border" style="border-color: var(--border);">
|
||||
@@ -76,9 +76,9 @@ zbiórki{% endif %}{% endblock %}
|
||||
</div>
|
||||
|
||||
{% if not z.ukryj_kwote %}
|
||||
<small class="text-muted">{{ progress_clamped|round(1) }}%</small>
|
||||
<small class="text-muted d-block text-center">{{ progress_clamped|round(1) }}%</small>
|
||||
{% else %}
|
||||
<small class="text-muted">Postęp ukryty</small>
|
||||
<small class="text-muted d-block text-center">Postęp ukryty</small>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user