Fix links missing icons in new profile

This commit is contained in:
rubenwardy 2020-12-05 01:24:27 +00:00
parent 4f52f82a15
commit f69fb47d69
1 changed files with 13 additions and 12 deletions

View File

@ -34,11 +34,9 @@
<a class="btn" href="https://forum.minetest.net/memberlist.php?mode=viewprofile&un={{ user.forums_username }}">
<i class="fas fa-comments"></i>
<span class="count">
{{ _("Forum Account") }}
{{ _("Forums") }}
</span>
</a>
{% elif user == current_user %}
<span>No forum account</span>
{% endif %}
{% if user.github_username %}
@ -51,11 +49,21 @@
{% endif %}
{% if user.website_url %}
<a class="btn" href="{{ user.website_url }}" rel="nofollow">Website</a>
<a class="btn" href="{{ user.website_url }}" rel="nofollow">
<i class="fas fa-globe-europe"></i>
<span class="count">
{{ _("Website") }}
</span>
</a>
{% endif %}
{% if user.donate_url %}
<a class="btn" href="{{ user.donate_url }}" rel="nofollow">Donate</a>
<a class="btn" href="{{ user.donate_url }}" rel="nofollow">
<i class="fas fa-donate"></i>
<span class="count">
{{ _("Donate") }}
</span>
</a>
{% endif %}
<a class="btn" href="{{ url_for('packages.list_all', author=user.username) }}">
@ -109,13 +117,6 @@
{% from "macros/packagegridtile.html" import render_pkggrid %}
{{ render_pkggrid(packages, show_author=False) }}
{% if user.donate_url %}
<div class="alert alert-secondary">
Like {{ user.display_name }}'s work?
<a href="{{ user.donate_url }}" rel="nofollow">Donate now!</a>
</div>
{% endif %}
<h2 class="my-3" id="reviews">{{ _("Reviews") }}</h2>
{% from "macros/reviews.html" import render_reviews %}