mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 06:53:09 +00:00
Make the discovery facet layout parametrizable
This commit is contained in:
@@ -60,7 +60,7 @@
|
|||||||
}
|
}
|
||||||
if (brefine) {
|
if (brefine) {
|
||||||
%>
|
%>
|
||||||
<div class="col-md-8">
|
<div class="col-md-<%= discovery_panel_cols %>">
|
||||||
<h3 class="facets"><fmt:message key="jsp.search.facet.refine" /></h3>
|
<h3 class="facets"><fmt:message key="jsp.search.facet.refine" /></h3>
|
||||||
<div id="facets" class="facetsBox row panel">
|
<div id="facets" class="facetsBox row panel">
|
||||||
<%
|
<%
|
||||||
@@ -78,7 +78,7 @@
|
|||||||
}
|
}
|
||||||
String fkey = "jsp.search.facet.refine."+f;
|
String fkey = "jsp.search.facet.refine."+f;
|
||||||
int limit = facetConf.getFacetLimit()+1;
|
int limit = facetConf.getFacetLimit()+1;
|
||||||
%><div id="facet_<%= f %>" class="facet col-md-4">
|
%><div id="facet_<%= f %>" class="facet col-md-<%= discovery_facet_cols %>">
|
||||||
<span class="facetName"><fmt:message key="<%= fkey %>" /></span>
|
<span class="facetName"><fmt:message key="<%= fkey %>" /></span>
|
||||||
<ul class="list-group"><%
|
<ul class="list-group"><%
|
||||||
int idx = 1;
|
int idx = 1;
|
||||||
|
@@ -216,6 +216,10 @@ if (communities != null && communities.length != 0)
|
|||||||
<%
|
<%
|
||||||
}
|
}
|
||||||
%>
|
%>
|
||||||
|
<%
|
||||||
|
int discovery_panel_cols = 8;
|
||||||
|
int discovery_facet_cols = 4;
|
||||||
|
%>
|
||||||
<%@ include file="discovery/static-sidebar-facet.jsp" %>
|
<%@ include file="discovery/static-sidebar-facet.jsp" %>
|
||||||
</div>
|
</div>
|
||||||
</dspace:layout>
|
</dspace:layout>
|
||||||
|
Reference in New Issue
Block a user