[*] BO : Bug fix #PSTEST-907 - Ergonomy improvement
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13745 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
{if count($modules)}
|
||||
|
||||
<table cellspacing="0" cellpadding="0" style="width: 100%; margin-bottom:10px;" class="table" id="">
|
||||
<col width="20px">
|
||||
<col width="40px">
|
||||
@@ -74,11 +76,10 @@
|
||||
</td>
|
||||
<td>
|
||||
<ul id="list-action-button">
|
||||
{if $module->id && isset($module->version_addons) && $module->version_addons}
|
||||
<li>
|
||||
<a href="{$module->options.update_url}" class="button updated"><span>{l s='Update it !'}</span></a></li>
|
||||
{/if}
|
||||
<li><a {if isset($module->id) && $module->id gt 0 && !empty($module->options.uninstall_onclick)}onclick="{$module->options.uninstall_onclick}"{/if} href="{if isset($module->id) && $module->id gt 0}{$module->options.uninstall_url}{else}{$module->options.install_url}{/if}" class="button installed"><span>{if isset($module->id) && $module->id gt 0}{l s='Uninstall'}{else}{l s='Install'}{/if}</span></a></li>
|
||||
{if $module->id && isset($module->version_addons) && $module->version_addons}
|
||||
<li><a href="{$module->options.update_url}" class="button updated"><span>{l s='Update it !'}</span></a></li>
|
||||
{/if}
|
||||
<li><a {if isset($module->id) && $module->id gt 0 && !empty($module->options.uninstall_onclick)}onclick="{$module->options.uninstall_onclick}"{/if} href="{if isset($module->id) && $module->id gt 0}{$module->options.uninstall_url}{else}{$module->options.install_url}{/if}" class="button installed"><span>{if isset($module->id) && $module->id gt 0}{l s='Uninstall'}{else}{l s='Install'}{/if}</span></a></li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -86,10 +87,11 @@
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{if count($modules)}
|
||||
<div style="margin-top: 12px;">
|
||||
<input type="button" class="button big" value="{l s='Install the selection'}" onclick="modules_management('install')"/>
|
||||
<input type="button" class="button big" value="{l s='Uninstall the selection'}" onclick="modules_management('uninstall')" />
|
||||
</div>
|
||||
{/if}
|
||||
<div style="margin-top: 12px;">
|
||||
<input type="button" class="button big" value="{l s='Install the selection'}" onclick="modules_management('install')"/>
|
||||
<input type="button" class="button big" value="{l s='Uninstall the selection'}" onclick="modules_management('uninstall')" />
|
||||
</div>
|
||||
{else}
|
||||
<div style="margin-top: 12px;color: #585A69;font-size: 16px;"><p align="center">{l s='No modules available on this section.'}</p></div>
|
||||
{/if}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user