diff options
| author | Andy Staudacher <andy.st@gmail.com> | 2009-06-06 15:24:49 -0700 |
|---|---|---|
| committer | Andy Staudacher <andy.st@gmail.com> | 2009-06-06 15:24:49 -0700 |
| commit | b9ee6f7d185c734dcff595d06d9c6e6fda5822ac (patch) | |
| tree | 4cc37bde852469449afd0989bfceeeddac84a200 /modules/info | |
| parent | 0e415dae9b29d792f631d3b94349086b8094c920 (diff) | |
| parent | b179b106c2b4d3971498f513ffc71eff1b6b1a5d (diff) | |
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/info')
| -rw-r--r-- | modules/info/views/info_block.html.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/info/views/info_block.html.php b/modules/info/views/info_block.html.php index db664894..f8e5f35e 100644 --- a/modules/info/views/info_block.html.php +++ b/modules/info/views/info_block.html.php @@ -17,6 +17,17 @@ <td><?= p::clean($item->name) ?></td> </tr> <? endif ?> + <? if ($item->id != 1): ?> + <? $parent = $item->parent(); ?> + <tr> + <th><?= t("Album: ") ?></th> + <td> + <a href="<?= url::site("albums/{$parent->id}?show=$item->id") ?>"> + <?= p::clean($parent->title) ?> + </a> + </td> + </tr> + <? endif ?> <? if ($item->captured): ?> <tr> <th><?= t("Captured:") ?></th> |
