1
0

Introduce recommended section in theme backend

Meant to highlight modern themes for guiding users not to pick the outdated xhtml themes still available via spartacus. See http://board.s9y.org/viewtopic.php?f=5&t=20713
This commit is contained in:
onli
2016-04-14 16:18:16 +02:00
parent 58df7bcea5
commit cc4e9f953e
5 changed files with 29 additions and 6 deletions

View File

@ -91,10 +91,7 @@
</article>
{/if}
<h2>{$CONST.AVAILABLE_TEMPLATES}</h2>
<ul class="plainList clearfix">
{foreach $templates as $template=>$info}
{function name=templateBlock}
<li><article class="clearfix">
<h3 title="{$info.info.name}">{$info.info.name|truncate:25:"&hellip;"}</h3>
<div class="clearfix equal_heights template_wrap">
@ -140,6 +137,21 @@
{/if}
</article>
</li>
{/function}
<h2>{$CONST.RECOMMENDED}</h2>
<ul class="plainList clearfix">
{foreach $recommended_templates as $template=>$info}
{templateBlock template=$template info=$info}
{/foreach}
</ul>
<h2>{$CONST.AVAILABLE_TEMPLATES}</h2>
<ul class="plainList clearfix">
{foreach $templates as $template=>$info}
{templateBlock template=$template info=$info}
{/foreach}
</ul>
</section>