Skip to content

Commit

Permalink
WEB: Adding screenshot head icon to gallery
Browse files Browse the repository at this point in the history
  • Loading branch information
Thunderforge authored and sev- committed Dec 15, 2022
1 parent cb61997 commit fb8d3ab
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion templates/pages/screenshots_category.tpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{* List all screenshots for an entry or category. *}
{capture "content"}
{foreach from=$screenshots.games item=g name=cat_loop}
<h3 class="subhead"><a href="{'/screenshots/'|lang}{$category}/{$g->getCategory()}/">{$g->getName()}</a></h3>
<h3 class="subhead">
<span class="sprite-games-{$g->getCategory()} sprite"></span>
<a href="{'/screenshots/'|lang}{$category}/{$g->getCategory()}/">{$g->getName()}</a>
</h3>
<div class="gallery">
{foreach from=$g->getFiles() item=fdata name=game_loop}
<div class="card">
Expand Down

0 comments on commit fb8d3ab

Please sign in to comment.