[Scummvm-cvs-logs] scummvm-web master -> dcc13144ecb91be92aaca76ae777df98badda9eb

criezy criezy at scummvm.org
Fri Apr 1 00:15:41 CEST 2016


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:
dcc13144ec WEB: Add missing anchors for FAQ sections


Commit: dcc13144ecb91be92aaca76ae777df98badda9eb
    https://github.com/scummvm/scummvm-web/commit/dcc13144ecb91be92aaca76ae777df98badda9eb
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2016-03-31T23:15:20+01:00

Commit Message:
WEB: Add missing anchors for FAQ sections

This fixes non-working link from the FAQ table of content to each
section. Only links to individual questions were working.

Changed paths:
    templates/faq.tpl



diff --git a/templates/faq.tpl b/templates/faq.tpl
index 731a83d..e2fa5b4 100644
--- a/templates/faq.tpl
+++ b/templates/faq.tpl
@@ -22,6 +22,7 @@
 		{foreach from=$contents item=section name='section_loop'}
 			{assign var='section_num' value=$smarty.foreach.section_loop.iteration}
 			<div class="section">
+				<a name="{$section_num}"></a>
 				<h3 class="title">{$section_num}. {$section->getTitle()}</h3>
 				<dl>
 					{foreach from=$section->getTOC() key=href item=name name='question_loop'}






More information about the Scummvm-git-logs mailing list