mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 22:12: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>
|
||||
{% endif %}
|
||||
{% 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 %}
|
||||
{% if user != collection.author %}
|
||||
{{ _("%(title)s by %(author)s", title=collection.title, author=collection.author.display_name) }}
|
||||
|
@ -26,7 +26,7 @@
|
||||
{% endif -%}
|
||||
{% if collection.author != current_user %}{{ collection.author.display_name }}: {% endif -%}
|
||||
{% 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 %}
|
||||
{% if collection.private %}
|
||||
<i class="fas fa-lock mr-1" style="color:#ffac33;"></i>
|
||||
|
@ -352,8 +352,8 @@
|
||||
<div class="d-flex mt-3 mb-4">
|
||||
<form method="POST" action="{{ package.get_url('collections.package_toggle_favorite') }}">
|
||||
<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') }}">
|
||||
<i class="fas fa-heart"></i>
|
||||
<button type="submit" class="btn {% if is_favorited %}text-info{% endif %} btn-secondary mr-2" aria-label="{{ _('Favorite') }}">
|
||||
<i class="fas fa-star"></i>
|
||||
</button>
|
||||
</form>
|
||||
<div class="flex-grow">
|
||||
|
Loading…
Reference in New Issue
Block a user