Skip to content
Snippets Groups Projects
Commit fc83bbcc authored by jan.bednarik's avatar jan.bednarik
Browse files

donate: Show donated amount for all projects

parent 774c97d7
No related branches found
No related tags found
No related merge requests found
......@@ -71,6 +71,8 @@
<h5><strong>40 dní</strong> do konce</h5>
<hr>
{% endcomment %}
{% else %}
<h5>Vybráno <strong>{{ page.get_donated_amount|intcomma }}&nbsp;</strong></h5>
{% endif %}
{% if page.show_donate_form %}
......
......@@ -8,8 +8,8 @@
<h5>{{ project.title }}</h5>
<p>{{ project.perex }}</p>
</div>
{% if project.expected_amount %}
<div class="card-footer">
{% if project.expected_amount %}
<div class="progress">
<div class="progress-bar" role="progressbar" style="width: {{ project.donated_percentage }}%" aria-valuenow="{{ project.donated_percentage }}" aria-valuemin="0" aria-valuemax="100"></div>
</div>
......@@ -17,8 +17,10 @@
Vybráno <strong>{{ project.get_donated_amount|intcomma }}&nbsp;</strong>
z <strong>{{ project.expected_amount|intcomma }}&nbsp;</strong>
</p>
{% else %}
<p>Vybráno <strong>{{ project.get_donated_amount|intcomma }}&nbsp;</strong></p>
{% endif %}
</div>
{% endif %}
{% if project.is_new %}
<ul class="project__flags">
<li class="project__flag new">Nový projekt</li>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment