Added display of list owners and list descriptions on index page, Added save function for list description

This commit is contained in:
2022-02-01 13:31:41 +01:00
parent fcd2a0e395
commit d7621582da
4 changed files with 61 additions and 4 deletions

View File

@@ -58,13 +58,19 @@
</tr>
{foreach $lists as $list}
{if $list == 1}
{if $list.iamowner == 1}
<tr>
<td>
&check;
</td>
<td>
<a href="edit_list.php?list_name={$list@key}">{$list@key}</a>
<div class="tooltip">
<img src="info.svg" width=15 height=15>
<span class="help_add_list">
<strong>Description</strong><br />{$list.description}<br /><br /><strong>List owner(s)</strong><br />{foreach $list.owners as $owner}{$owner}<br />{/foreach}
</span>
</div>
</td>
</tr>
{/if}
@@ -94,18 +100,26 @@
</tr>
{foreach $lists as $list}
{if $list == 0}
{if $list.iamowner == 0}
<tr>
<td>
&cross;
</td>
<td>
{$list@key}
<div class="tooltip">
<img src="info.svg" width=15 height=15>
<span class="help_add_list">
<strong>Description</strong><br />{$list.description}<br /><br /><strong>List owner(s)</strong><br />{foreach $list.owners as $owner}{$owner}<br />{/foreach}
</span>
</div>
</td>
</tr>
{/if}
{/foreach}
</table>
<br />
<span>Loading time: {$loadingtime} seconds</span>
</div>
</body>
</html>