diff options
| author | Chad Kieffer <chad@2tbsp.com> | 2008-12-28 07:33:09 +0000 |
|---|---|---|
| committer | Chad Kieffer <chad@2tbsp.com> | 2008-12-28 07:33:09 +0000 |
| commit | aff2af5e1f23d713255ab03820656fa936230550 (patch) | |
| tree | fde1f5c41ff965c8a46ceb142c908f7ce665b94c /themes/default/views | |
| parent | dc62e4167e989e9c3f29c83baf7e1c11f21dc484 (diff) | |
Tighten up album grid display. Vertically align thumbnail/metadata in gItem container. Brought back borders. Use a neutral bg color for albums. Link item titles, not just thumbnails.
Diffstat (limited to 'themes/default/views')
| -rw-r--r-- | themes/default/views/album.html.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/views/album.html.php b/themes/default/views/album.html.php index fe974337..b5995602 100644 --- a/themes/default/views/album.html.php +++ b/themes/default/views/album.html.php @@ -11,7 +11,7 @@ <? if ($child->is_album()): ?> <? $album_class = "gAlbum "; ?> <? endif ?> - <li class="gItem <?= $album_class ?>"> + <li id="g<?= $child->id ?>" class="gItem <?= $album_class ?>"> <?= $theme->thumb_top($child) ?> <a href="<?= url::site("{$child->type}s/{$child->id}") ?>"> <img id="gPhotoID-<?= $child->id ?>" class="gThumbnail" @@ -19,7 +19,7 @@ width="<?= $child->thumb_width ?>" height="<?= $child->thumb_height ?>" /> </a> - <h2><?= $child->title ?></h2> + <h2><a href="<?= url::site("{$child->type}s/{$child->id}") ?>"><?= $child->title ?></a></h2> <?= $theme->thumb_bottom($child) ?> <ul class="gMetadata"> <?= $theme->thumb_info($child) ?> |
