WIP: quality control.
This commit is contained in:
parent
d3c14def4e
commit
d9fe16c0fc
|
@ -2,10 +2,12 @@
|
|||
<h1>Body zájmu</h1>
|
||||
<?php if (count($pois)) { ?>
|
||||
<table class="table">
|
||||
<tr><th>název</th><th></th><th></th></tr>
|
||||
<tr><th>název</th><th>napsán text</th><th>zveřejněno</th><th></th><th></th></tr>
|
||||
<?php foreach ($pois as $item) { ?>
|
||||
<tr>
|
||||
<td><?=$item['name']; ?><br><small><?=$item['note']; ?></small></td>
|
||||
<td><small><?=empty($item['description']) ? 'NE' : 'ANO'; ?></small></td>
|
||||
<td><small><?=empty($item['is_public']) ? 'NE' : 'ANO'; ?></small></td>
|
||||
<td><a href="/pois/edit/<?=$item['id']; ?>/" class=""><span class="icon"><i class="fas fa-edit"></i></span></a> </td>
|
||||
<td><a href="/pois/delete/<?=$item['id']; ?>/" class="delete" onclick="return confirm('Opravdu chcete položku smazat?')">smazat</a> </td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue