-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmodule.topdonator.html
38 lines (35 loc) · 1.57 KB
/
module.topdonator.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
34
35
36
37
38
<div class="p-4 module--topdonator d-flex">
<div class="skin">
{% if module.ign %}
<img src="https://mc-heads.net/body/{{module.ign}}" class="unselectable drop-shadow" id="topDonatorAvatar" data-username="{{module.ign}}"/>
{% else %}
<img src="https://mc-heads.net/body/MHF_Steve" class="unselectable drop-shadow" id="topDonatorAvatar"/>
{% endif %}
</div>
<div class="desc d-flex flex-column align-items-start justify-content-center">
<h4 class="text-shadow"><i class="bi bi-award-fill icon-right"></i>Top Donator</h4>
{% if module.ign %}
<p class="text-shadow">{{ module.ign }},</p>
<p class="text-shadow">
{% if module.displayAmount %}
{{ __("donated") }} {{ module.total|money }} <small>{{ store.currency }}</small>
{% else %}
{{ __("donated the most ") }}
{% endif %}
{% if module.period == "hourly" %}
{{ __("this hour.") }}
{% elseif module.period == "daily" %}
{{ __("today.") }}
{% elseif module.period == "monthly" %}
{{ __("this month.") }}
{% elseif module.period == "yearly" %}
{{ __("this year.") }}
{% else %}
{{ __("this week.") }}
{% endif %}
</p>
{% else %}
<p class="text-shadow">Your name and skin can be here!</p>
{% endif %}
</div>
</div>