summaryrefslogtreecommitdiff
path: root/modules/info/views
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-08-27 21:56:27 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-08-27 21:56:27 -0700
commitf27919aa1e5625de50e25c215b17099134a18e22 (patch)
tree213b824115ad1dd50e75873485a6d0adbc218a0b /modules/info/views
parent377bdf2803eb69efe0d16e4580a922f4b83cbf0b (diff)
parent826e104fa98eca33afd8cb59ebf8123021145609 (diff)
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/info/views')
-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 ?>