// By default in the BO if there is only one warning, don't display the "Click here to see more" and show the warning.
This commit is contained in:
@@ -72,18 +72,22 @@
|
|||||||
</span>
|
</span>
|
||||||
{if count($warnings) > 1}
|
{if count($warnings) > 1}
|
||||||
{l s='There are'} {count($warnings)} {l s='warnings'}
|
{l s='There are'} {count($warnings)} {l s='warnings'}
|
||||||
|
<span style="margin-left:20px;" id="labelSeeMore">
|
||||||
|
<a id="linkSeeMore" href="#" style="text-decoration:underline">{l s='Click here to see more'}</a>
|
||||||
|
<a id="linkHide" href="#" style="text-decoration:underline;display:none">{l s='Hide warning'}</a>
|
||||||
|
</span>
|
||||||
|
<ul {if count($warnings) > 1}style="display:none;"{/if} id="seeMore">
|
||||||
|
{foreach $warnings as $warning}
|
||||||
|
<li>{$warning}</li>
|
||||||
|
{/foreach}
|
||||||
|
</ul>
|
||||||
{else}
|
{else}
|
||||||
{l s='There is'} {count($warnings)} {l s='warning'}
|
<ul style="margin-top: 3px">
|
||||||
|
{foreach $warnings as $warning}
|
||||||
|
<li>{$warning}</li>
|
||||||
|
{/foreach}
|
||||||
|
</ul>
|
||||||
{/if}
|
{/if}
|
||||||
<span style="margin-left:20px;" id="labelSeeMore">
|
|
||||||
<a id="linkSeeMore" href="#" style="text-decoration:underline">{l s='Click here to see more'}</a>
|
|
||||||
<a id="linkHide" href="#" style="text-decoration:underline;display:none">{l s='Hide warning'}</a>
|
|
||||||
</span>
|
|
||||||
<ul style="display:none;" id="seeMore">
|
|
||||||
{foreach $warnings as $warning}
|
|
||||||
<li>{$warning}</li>
|
|
||||||
{/foreach}
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user