mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-03 19:57:29 +01:00
Show the image caption on screenshot hover (#423)
This commit is contained in:
parent
e0f9623670
commit
4e154644ee
@ -270,7 +270,7 @@
|
|||||||
{% if ss.approved or package.checkPerm(current_user, "ADD_SCREENSHOTS") %}
|
{% if ss.approved or package.checkPerm(current_user, "ADD_SCREENSHOTS") %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ ss.url }}" class="gallery-image">
|
<a href="{{ ss.url }}" class="gallery-image">
|
||||||
<img src="{{ ss.getThumbnailURL() }}" alt="{{ ss.title }}" />
|
<img src="{{ ss.getThumbnailURL() }}" alt="{{ ss.title }}" title="{{ ss.title }}" />
|
||||||
{% if not ss.approved %}
|
{% if not ss.approved %}
|
||||||
<span class="badge bg-dark badge-tr">{{ _("Awaiting review") }}</span>
|
<span class="badge bg-dark badge-tr">{{ _("Awaiting review") }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user