Fix links missing icons in new profile
This commit is contained in:
parent
4f52f82a15
commit
f69fb47d69
|
@ -34,11 +34,9 @@
|
||||||
<a class="btn" href="https://forum.minetest.net/memberlist.php?mode=viewprofile&un={{ user.forums_username }}">
|
<a class="btn" href="https://forum.minetest.net/memberlist.php?mode=viewprofile&un={{ user.forums_username }}">
|
||||||
<i class="fas fa-comments"></i>
|
<i class="fas fa-comments"></i>
|
||||||
<span class="count">
|
<span class="count">
|
||||||
{{ _("Forum Account") }}
|
{{ _("Forums") }}
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
{% elif user == current_user %}
|
|
||||||
<span>No forum account</span>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if user.github_username %}
|
{% if user.github_username %}
|
||||||
|
@ -51,11 +49,21 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if user.website_url %}
|
{% 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 %}
|
{% endif %}
|
||||||
|
|
||||||
{% if user.donate_url %}
|
{% 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 %}
|
{% endif %}
|
||||||
|
|
||||||
<a class="btn" href="{{ url_for('packages.list_all', author=user.username) }}">
|
<a class="btn" href="{{ url_for('packages.list_all', author=user.username) }}">
|
||||||
|
@ -109,13 +117,6 @@
|
||||||
{% from "macros/packagegridtile.html" import render_pkggrid %}
|
{% from "macros/packagegridtile.html" import render_pkggrid %}
|
||||||
{{ render_pkggrid(packages, show_author=False) }}
|
{{ 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>
|
<h2 class="my-3" id="reviews">{{ _("Reviews") }}</h2>
|
||||||
{% from "macros/reviews.html" import render_reviews %}
|
{% from "macros/reviews.html" import render_reviews %}
|
||||||
|
|
Loading…
Reference in New Issue