Files
Website/views/partials/browse-page.ejs
T
2026-11-24 22:05:11 +01:00

25 lines
1009 B
Plaintext

<div class="container">
<div class="center-a page-content">
<% if (typeof wrapTitleInLink !== 'undefined' && wrapTitleInLink) { %>
<a class="page-title-link" href="<%= t('/') %>">
<h1><%= title %> - <%= sectionLabel %></h1>
</a>
<% } else { %>
<h1><%= title %> - <%= sectionLabel %></h1>
<% } %>
<h2 class="section-heading"><%= sectionLabel %></h2>
<%- include('./back-link', {
href: t('/'),
label: 'Back home',
useHistoryBack: typeof useHistoryBack !== 'undefined' ? useHistoryBack : false
}); -%>
<%- include('./search-form', { action: searchAction, search, mode, accessCode, tracer }); -%>
<%- include('./access-codes'); -%>
<%- include('./pagination', { currentPage, totalPages, search, mode, accessCode, t }); -%>
<%- include('./browse-grid', { items, viewPathPrefix, thumbnailPathPrefix, accessCode, t }); -%>
</div>
</div>