forked from services/mlmmj-light-web-ecg
Added display of list owners and list descriptions on index page, Added save function for list description
This commit is contained in:
@@ -58,13 +58,19 @@
|
||||
</tr>
|
||||
|
||||
{foreach $lists as $list}
|
||||
{if $list == 1}
|
||||
{if $list.iamowner == 1}
|
||||
<tr>
|
||||
<td>
|
||||
✓
|
||||
</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>
|
||||
✗
|
||||
</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>
|
||||
|
||||
Reference in New Issue
Block a user