[Scummvm-git-logs] scummvm-web master -> fb8d3abbacd28523e9df0e01fababafb1bc6f823
sev-
noreply at scummvm.org
Thu Dec 15 22:31:43 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-web' repo located at https://github.com/scummvm/scummvm-web .
Summary:
fb8d3abbac WEB: Adding screenshot head icon to gallery
Commit: fb8d3abbacd28523e9df0e01fababafb1bc6f823
https://github.com/scummvm/scummvm-web/commit/fb8d3abbacd28523e9df0e01fababafb1bc6f823
Author: Thunderforge (wjherrmann at gmail.com)
Date: 2022-12-15T23:31:40+01:00
Commit Message:
WEB: Adding screenshot head icon to gallery
Changed paths:
templates/pages/screenshots_category.tpl
diff --git a/templates/pages/screenshots_category.tpl b/templates/pages/screenshots_category.tpl
index 279ae8b0..f0dadc74 100644
--- a/templates/pages/screenshots_category.tpl
+++ b/templates/pages/screenshots_category.tpl
@@ -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">
More information about the Scummvm-git-logs
mailing list