diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2008-11-06 04:56:50 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-06 04:56:50 +0000 |
| commit | d6e942f2e37fc2e6539ddabba62faac06df59c08 (patch) | |
| tree | 86938f987129826d7db4a0b8a460f758795a6471 /core/views | |
| parent | 3fe8cd7135577499a9319da4a71467ba56ad46b4 (diff) | |
Add quick-link to the deepest photo to test hierarchical navigation
Diffstat (limited to 'core/views')
| -rw-r--r-- | core/views/welcome.html.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/views/welcome.html.php b/core/views/welcome.html.php index 525d3bf7..ad58dd76 100644 --- a/core/views/welcome.html.php +++ b/core/views/welcome.html.php @@ -171,6 +171,12 @@ <?= html::anchor("welcome/mptt", "MPTT tree (graph)") ?> <i>(requires /usr/bin/dot from the graphviz package)</i> </li> + <? if ($deepest_photo): ?> + <li> + <?= html::anchor("photo/{$deepest_photo->id}", "Deepest photo") ?> + <i>(<?= $deepest_photo->level ?> levels deep)</i> + </li> + <? endif ?> </ul> </div> |
