Add i18n to Sone insert notification.
[Sone.git] / src / main / resources / templates / imageBrowser.html
index a88c48f..a80680f 100644 (file)
                                </div>
                        <%/if>
 
-                       <%foreach album.images image|paginate pageSize=core.preferences.imagesPerPage page=request.page>
+                       <%foreach album.images image|paginate pageSize=core.preferences.imagesPerPage page=page>
                                <%first>
                                        <h2><%= Page.ImageBrowser.Header.Images|l10n|html></h2>
                                        <%include include/pagination.html pageParameter=="page">
                                <%last><%= true|store key==endRow><%/last>
                                <%if endRow>
                                        </div>
-                                       <%include include/pagination.html pageParameter=="page">
                                <%/if>
+                <%last><%include include/pagination.html pageParameter=="page"><%/last>
                        <%/foreach>
 
                        <%if album.sone.local>