Created
May 11, 2015 18:04
-
-
Save ChristopherDosin/4b5e4505622ee6a22186 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{extends file="parent:frontend/detail/tabs.tpl"} | |
{* New tab *} | |
{block name="frontend_detail_tabs_description" append} | |
{if $sArticle.attr4} | |
<a class="tab--link" title="{s name='NewTabsDescription'}{/s}" href="#">{s name='NewTabsDescription'}{/s}</a> | |
{/if} | |
{if $sArticle.attr5} | |
<a class="tab--link" title="{s name='Tab2TabsDescription'}{/s}" href="#">{s name='Tab2TabsDescription'}{/s}</a> | |
{/if} | |
{/block} | |
{* New Tab container *} | |
{block name="frontend_detail_tabs_content_description" append} | |
{if $sArticle.attr4} | |
<div class="tab--container"> | |
<div class="tab--header"><a class="tab--title" title="{s name='NewTabsDescription'}{/s}" href="#">{s name='NewTabsDescription'}{/s}</a></div> | |
<div class="tab--preview">{$sArticle.attr4|truncate:100:'...'}<a href="#" class="tab--link" title="{s name="PreviewTextMore"}{/s}">{s name="PreviewTextMore"}{/s}</a></div> | |
<div class="tab--content">{include file="frontend/detail/tabs/new.tpl"}</div> | |
</div> | |
{/if} | |
{if $sArticle.attr5} | |
<div class="tab--container"> | |
<div class="tab--header"><a class="tab--title" title="{s name='Tab2TabsDescription'}{/s}" href="#">{s name='Tab2TabsDescription'}{/s}</a></div> | |
<div class="tab--preview">{$sArticle.attr5|truncate:100:'...'}<a href="#" class="tab--link" title="{s name="PreviewTextMore"}{/s}">{s name="PreviewTextMore"}{/s}</a></div> | |
<div class="tab--content">{include file="frontend/detail/tabs/tab2.tpl"}</div> | |
</div> | |
{/if} | |
{/block} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment