Show name and description unter albums, too.
[Sone.git] / src / main / resources / templates / imageBrowser.html
index f34f4a6..f04e81c 100644 (file)
@@ -88,7 +88,7 @@
                                                                                $(showElement).hide();
                                                                                $(hideElement).show();
                                                                        }
-                                                                       return false;
+                                                                       return $(event.target).is("button");
                                                                });
                                                        });
                                                };
                                                        <%/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>