summaryrefslogtreecommitdiff
path: root/modules/info
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-08-27 17:15:20 -0700
committerBharat Mediratta <bharat@menalto.com>2009-08-27 17:15:20 -0700
commit826e104fa98eca33afd8cb59ebf8123021145609 (patch)
treecc1790b50d38288ca637e50e00cc2e1f50f60589 /modules/info
parenta28dd09c4eac11ce406525ffd871df7605d5175f (diff)
Get rid of the extra "Folder name" row. It's noisy. Fixes ticket #593.
Diffstat (limited to 'modules/info')
-rw-r--r--modules/info/views/info_block.html.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/info/views/info_block.html.php b/modules/info/views/info_block.html.php
index 762e989b..3c668168 100644
--- a/modules/info/views/info_block.html.php
+++ b/modules/info/views/info_block.html.php
@@ -10,9 +10,9 @@
<?= nl2br(p::purify($item->description)) ?>
</li>
<? endif ?>
- <? if ($item->id != 1): ?>
+ <? if (!$item->is_album()): ?>
<li>
- <strong class="caption"><?= $theme->page_type == 'album' ? t("Folder name:"): t("File name:"); ?></strong>
+ <strong class="caption"><?= t("File name:") ?></strong>
<?= p::clean($item->name) ?>
</li>
<? endif ?>