Merge branch 'release-0.9.7'
[Sone.git] / src / main / resources / templates / include / browseAlbums.html
index a22505f..7c8c490 100644 (file)
@@ -8,13 +8,13 @@
                                <%ifnull album.albumImage>
                                        <img src="images/unknown-image-0.png" width="333" height="250" alt="<% album.title|html>" title="<% album.title|html>" style="position: relative; top: 0px; left: -41px;" />
                                <%else><!-- TODO -->
-                                       <% album.randomImage|image-link max-width==250 max-height==250 mode==enlarge title=album.title>
+                                       <% album.albumImage|image-link max-width==250 max-height==250 mode==enlarge title=album.title>
                                <%/if>
                        </a>
                </div>
                <div class="show-data">
                        <div class="album-title"><% album.title|html> (<%= View.Sone.Stats.Images|l10n 0=album.images.size>)</div>
-                       <div class="album-description"><% album.description|parse sone=album.sone></div>
+                       <div class="album-description"><% album.description|parse sone=album.sone|render></div>
                </div>
                <%if album.sone.local>
                        <form class="edit-album" action="editAlbum.html" method="post">