diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-06-06 11:39:11 -0700 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-06 11:39:11 -0700 |
| commit | 5835715e49f98943c561d6cee67840488c428175 (patch) | |
| tree | 4a48034bc1f3e4b279b8791dbc7c30b5d21f8cac /modules/info/views | |
| parent | ab1fc6ad533968ac7cb1d0506e989f549935b7aa (diff) | |
| parent | cd92b2ed85f063d990412601c19eeed1783be7c4 (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.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> |
