Show name and description unter albums, too.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 23 Sep 2011 07:57:37 +0000 (09:57 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 23 Sep 2011 07:57:37 +0000 (09:57 +0200)
src/main/resources/static/css/sone.css
src/main/resources/templates/imageBrowser.html

index 1cb2e95..69e93d6 100644 (file)
@@ -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 {
index 777d59e..f04e81c 100644 (file)
                                                        <%/if>
                                                </a>
                                        </div>
-                                       <% album.title|html>
+                                       <div class="show-data">
+                                               <div class="album-title"><% album.title|html></div>
+                                               <div class="album-description"><% album.description|html></div>
+                                       </div>
                                </div>
                                <%= false|store key=endRow>
                                <%if loop.count|mod divisor=3 offset=1><%= true|store key=endRow><%/if>
                                                                <% album.albumImage|image-link max-width=200 max-height=200 mode=enlarge title==album.title>
                                                        <%/if>
                                                </a>
-                                               <% album.title|html>
+                                       </div>
+                                       <div class="show-data">
+                                               <div class="album-title"><% album.title|html></div>
+                                               <div class="album-description"><% album.description|html></div>
                                        </div>
                                </div>
                                <%= false|store key=endRow>