mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 06:22:24 +01:00
Use Star instead of Heart for favourites
This commit is contained in:
parent
c1aa12dc8c
commit
e47ea249e7
@ -33,7 +33,7 @@
|
|||||||
<i class="fas fa-lock mr-1" style="color:#ffac33;"></i>
|
<i class="fas fa-lock mr-1" style="color:#ffac33;"></i>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if collection.name == 'favorites' %}
|
{% if collection.name == 'favorites' %}
|
||||||
<i class="fas fa-heart mr-1 text-danger"></i>
|
<i class="fas fa-star mr-1 text-info"></i>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if user != collection.author %}
|
{% if user != collection.author %}
|
||||||
{{ _("%(title)s by %(author)s", title=collection.title, author=collection.author.display_name) }}
|
{{ _("%(title)s by %(author)s", title=collection.title, author=collection.author.display_name) }}
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
{% endif -%}
|
{% endif -%}
|
||||||
{% if collection.author != current_user %}{{ collection.author.display_name }}: {% endif -%}
|
{% if collection.author != current_user %}{{ collection.author.display_name }}: {% endif -%}
|
||||||
{% if collection.name == 'favorites' %}
|
{% if collection.name == 'favorites' %}
|
||||||
<i class="fas fa-heart mr-1 text-danger"></i>
|
<i class="fas fa-star mr-1 text-info"></i>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if collection.private %}
|
{% if collection.private %}
|
||||||
<i class="fas fa-lock mr-1" style="color:#ffac33;"></i>
|
<i class="fas fa-lock mr-1" style="color:#ffac33;"></i>
|
||||||
|
@ -352,8 +352,8 @@
|
|||||||
<div class="d-flex mt-3 mb-4">
|
<div class="d-flex mt-3 mb-4">
|
||||||
<form method="POST" action="{{ package.get_url('collections.package_toggle_favorite') }}">
|
<form method="POST" action="{{ package.get_url('collections.package_toggle_favorite') }}">
|
||||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
|
||||||
<button type="submit" class="btn {% if is_favorited %}text-danger{% endif %} btn-secondary mr-2" aria-label="{{ _('Favorite') }}">
|
<button type="submit" class="btn {% if is_favorited %}text-info{% endif %} btn-secondary mr-2" aria-label="{{ _('Favorite') }}">
|
||||||
<i class="fas fa-heart"></i>
|
<i class="fas fa-star"></i>
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
<div class="flex-grow">
|
<div class="flex-grow">
|
||||||
|
Loading…
Reference in New Issue
Block a user