Added improvements for empty database

This commit is contained in:
2023-02-14 13:48:28 +01:00
parent cf27c1377c
commit 23b73a387b
11 changed files with 338 additions and 285 deletions
+31 -25
View File
@@ -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>