Added improvements for empty database
This commit is contained in:
+31
-25
@@ -1,25 +1,31 @@
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/building.png" alt="" />
|
||||
{$lang_locations} ({$locations|@count})
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="locationadd.php"><img src="images/building_add.png" alt="{$lang_location_add}" title="{$lang_location_add}" /></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_location_name}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="value">
|
||||
{treelist tree=$locations}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/building.png" alt="" />
|
||||
{$lang_locations} ({$locations|@count})
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="locationadd.php"><img src="images/building_add.png" alt="{$lang_location_add}" title="{$lang_location_add}" /></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_location_name}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
{if $locations}
|
||||
<td class="value">
|
||||
{treelist tree=$locations}
|
||||
</td>
|
||||
{else}
|
||||
<td class="value">
|
||||
{$lang_location_none}
|
||||
</td>
|
||||
{/if}
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user