mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-10 09:19:18 -04:00
Don't show the description field if there's no description
This commit is contained in:
@@ -5,11 +5,13 @@
|
||||
<th><?= t("Title:") ?></th>
|
||||
<td><?= $item->title; ?></td>
|
||||
</tr>
|
||||
<? if ($item->description): ?>
|
||||
<tr>
|
||||
<th><?= t("Description:") ?></th>
|
||||
<td><?= $item->description; ?></td>
|
||||
</tr>
|
||||
<? if ($item->id != 1): ?>
|
||||
<? endif ?>
|
||||
<? if ($item->id != 1): ?>
|
||||
<tr>
|
||||
<th><?= t("Name:") ?></th>
|
||||
<td><?= $item->name; ?></td>
|
||||
|
||||
Reference in New Issue
Block a user