From a996006a648e2d8b0ef70bbddc66d12d77f7d150 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 23 Sep 2011 09:57:37 +0200 Subject: [PATCH] Show name and description unter albums, too. --- src/main/resources/static/css/sone.css | 6 ++++-- src/main/resources/templates/imageBrowser.html | 10 ++++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index 1cb2e95..69e93d6 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -686,12 +686,14 @@ textarea { width: 95%; } -#sone .image .image-title { +#sone .image .image-title, #sone .album .album-title { font-weight: bold; } -#sone .image .image-description { +#sone .image .image-description, #sone .album .album-description { text-align: left; + width: 195px; + word-wrap: break-word; } #sone .backlinks .separator { diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index 777d59e..f04e81c 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -149,7 +149,10 @@ <%/if> - <% album.title|html> +
+
<% album.title|html>
+
<% album.description|html>
+
<%= false|store key=endRow> <%if loop.count|mod divisor=3 offset=1><%= true|store key=endRow><%/if> @@ -357,7 +360,10 @@ <% album.albumImage|image-link max-width=200 max-height=200 mode=enlarge title==album.title> <%/if> - <% album.title|html> + +
+
<% album.title|html>
+
<% album.description|html>
<%= false|store key=endRow> -- 2.7.4