1
0

Proper styling for plugin installation.

This commit is contained in:
Matthias Mees
2013-02-18 12:57:59 +01:00
parent 8c4f470d16
commit 5dddaeb89d
2 changed files with 10 additions and 7 deletions

View File

@ -74,7 +74,7 @@
{/if}
<ul class="plugins_installable plainList">
{foreach $groupstack as $plug}
<li><h4>{$plug.name} ({$plug.class_name})</h4>
<li class="clearfix"><h4>{$plug.name} ({$plug.class_name})</h4>
<p class="plugin_desc">{$plug.description}</p>
@ -103,11 +103,11 @@
{if isset($requirements_failures.{$plug.class_name})}
<span class="unmet_requirements msg_notice"><span class="icon-info-circle"></span> {$CONST.UNMET_REQUIREMENTS|sprintf:"{if $requirements_failures.{$plug.class_name}.s9y}s9y $plug.requirements..serendipity,{/if} {if $requirements_failures.{$plug.class_name}.php}PHP $plug.requirements.php,{/if} {if $requirements_failures.{$plug.class_name}.smarty}Smarty $plug.requirements.smarty{/if}"}</span>
{elseif $plug['upgradable'] == true}
<a class="upgradable block_level standalone" href="?serendipity[adminModule]=plugins&amp;serendipity[pluginPath]={$plug.pluginPath}&amp;serendipity[install_plugin]={$plug.plugin_class}{if isset($plug['customURI'])}{$plug.customURI}{/if}">{$CONST.UPGRADE}</a>
<a class="upgradable button_link" href="?serendipity[adminModule]=plugins&amp;serendipity[pluginPath]={$plug.pluginPath}&amp;serendipity[install_plugin]={$plug.plugin_class}{if isset($plug['customURI'])}{$plug.customURI}{/if}">{$CONST.UPGRADE}</a>
{elseif $plug.installable == true}
<a class="installable block_level standalone" href="?serendipity[adminModule]=plugins&amp;serendipity[pluginPath]={$plug.pluginPath}&amp;serendipity[install_plugin]={$plug.plugin_class}{if isset($plug.customURI)}{$plug.customURI}{/if}">{$CONST.INSTALL}</a>
<a class="installable button_link" href="?serendipity[adminModule]=plugins&amp;serendipity[pluginPath]={$plug.pluginPath}&amp;serendipity[install_plugin]={$plug.plugin_class}{if isset($plug.customURI)}{$plug.customURI}{/if}">{$CONST.INSTALL}</a>
{else}
<span class="installed msg_success"><span class="icon-ok-circle"></span> {$CONST.ALREADY_INSTALLED}</span>
<span class="installed block_level"><span class="icon-ok-circle"></span> {$CONST.ALREADY_INSTALLED}</span>
{/if}
</div>
</li>