From: David ‘Bombe’ Roden Date: Fri, 23 Sep 2011 07:57:37 +0000 (+0200) Subject: Show name and description unter albums, too. X-Git-Tag: 0.7^2~2^2~34 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=a996006a648e2d8b0ef70bbddc66d12d77f7d150 Show name and description unter albums, too. --- 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>