// fix BO modules list -> fav view

This commit is contained in:
Kevin Granger
2013-08-29 17:23:26 +02:00
parent 7d4c0ad36e
commit 40e2b5b8d9
@@ -1,4 +1,9 @@
{include file='controllers/modules/header.tpl'} {include file='controllers/modules/header.tpl'}
<div class="panel">
<div class="panel-heading">
<i class="icon-list-ul"></i>
{l s='Modules list'}
</div>
<div class="row"> <div class="row">
<div class="col-lg-12"> <div class="col-lg-12">
<div class="btn-group pull-right"> <div class="btn-group pull-right">
@@ -12,25 +17,15 @@
</a> </a>
</div> </div>
</div> </div>
</div>
<div class="row">
<div id="container" class="col-lg-12"> <div id="container" class="col-lg-12">
<div id="moduleContainer"> <div id="moduleContainer">
<table class="table" id=""> <table class="table">
<colgroup>
<col width="5%">
<col width="10%">
<col width="20%">
<col width="5%">
<col width="20%">
<col width="5%">
<col width="7%">
<col width="7%">
<col width="7%">
</colgroup>
<thead> <thead>
<tr class="nodrag nodrop"> <tr class="nodrag nodrop">
<th>{l s='Logo'}</th> <th></th>
<th>{l s='Module Name'}</th> <th>{l s='Module'}</th>
<th>{l s='Description'}</th>
<th>{l s='Status'}</th> <th>{l s='Status'}</th>
<th>{l s='Tab'}</th> <th>{l s='Tab'}</th>
<th>{l s='Categories'}</th> <th>{l s='Categories'}</th>
@@ -41,15 +36,13 @@
</thead> </thead>
<tbody> <tbody>
{foreach from=$modules key=km item=module} {foreach from=$modules key=km item=module}
<tr height="32" {if $km % 2 eq 0} class="alt_row"{/if}> <tr>
<td> <td>
<img src="{if isset($module->image)}{$module->image}{else}../modules/{$module->name}/{$module->logo}{/if}" width="57" height="57" /> <img src="{if isset($module->image)}{$module->image}{else}../modules/{$module->name}/{$module->logo}{/if}" width="32" height="32" />
</td> </td>
<td class="moduleName"> <td class="moduleName">
<h5>{$module->displayName}</h5> <h4>{$module->displayName}</h4>
</td> <span class="moduleFavDesc text-muted">{$module->description|truncate:80:'...'}</span>
<td>
<span class="moduleFavDesc">{$module->description|truncate:80:'...'}</span>
</td> </td>
<td class="setup"> <td class="setup">
{if isset($module->id) && $module->id gt 0} {if isset($module->id) && $module->id gt 0}
@@ -101,3 +94,4 @@
</div> </div>
</div> </div>
</div> </div>
</div>