-
Notifications
You must be signed in to change notification settings - Fork 0
/
module.communitygoal.html
33 lines (32 loc) · 1.48 KB
/
module.communitygoal.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<div class="panel panel-default module box-container">
<div class="panel-heading">
<div class="header" style="margin-top:0px;margin-bottom:0px;">{{ module.header }}</div>
</div>
<div class="panel-body content" style="width:auto;float:none;">
<div class="donation-goal" style="text-align:center;">
{% if module.communitygoal.image %}
<div class="image borderless">
<img src="{{ module.communitygoal.image }}" style="width:190px; height:165px;" class="tooltip-help" />
</div>
{% endif %}
<p>
{{ module.communitygoal.description|raw }}
</p>
<p>
{% if module.displayAmount %}
{{ module.total }} / {{ module.target }} {{ store.currency }} ({{ module.percentage }}%)
{% endif %}
{% if module.displayAmount == false %}
{{ module.percentage }}% completed
{% endif %}
</p>
<div class="progress {% if module.bar.style == "striped" %} progress-striped {% endif %} {% if module.bar.animated %} active {% endif %}">
<div class="progress-bar bar" role="progressbar" style="width:{{ module.percentage }}%;"></div>
</div>
{% if module.communitygoal.repeatable == 1 %}
<hr />
<p>Times Achieved: {{ module.communitygoal.times_achieved }}</p>
{% endif %}
</div>
</div>
</div>