Breadcrumbs template. Copied some templates into vivo-basic theme.
This commit is contained in:
parent
8d538b5fc6
commit
aab3f23f3a
3 changed files with 11 additions and 4 deletions
|
@ -28,8 +28,8 @@ import edu.cornell.mannlib.vitro.webapp.beans.ApplicationBean;
|
|||
import edu.cornell.mannlib.vitro.webapp.beans.Portal;
|
||||
import edu.cornell.mannlib.vitro.webapp.utils.StringUtils;
|
||||
import edu.cornell.mannlib.vitro.webapp.view.menu.TabMenu;
|
||||
import edu.cornell.mannlib.vitro.webapp.web.BreadCrumbsUtil;
|
||||
import edu.cornell.mannlib.vitro.webapp.web.PortalWebUtil;
|
||||
|
||||
import freemarker.cache.ClassTemplateLoader;
|
||||
import freemarker.cache.FileTemplateLoader;
|
||||
import freemarker.cache.MultiTemplateLoader;
|
||||
|
@ -219,6 +219,7 @@ public class FreeMarkerHttpServlet extends VitroHttpServlet {
|
|||
|
||||
root.put("siteName", portal.getAppName());
|
||||
root.put("tagline", portal.getShortHand());
|
||||
root.put("breadcrumbs", BreadCrumbsUtil.getBreadCrumbsDiv(request));
|
||||
|
||||
setUrls(portalId, themeDir);
|
||||
setLoginInfo();
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<#-- By default, not used. Uncomment if desired, and unhide in CSS.
|
||||
<div id="breadcrumbs" class="small">${breadcrumbs}</div>
|
||||
-->
|
|
@ -10,12 +10,13 @@
|
|||
|
||||
<#include "/components/identity.ftl">
|
||||
|
||||
<#-- Note to UI team: do not change this div without also making the change in menu.jsp -->
|
||||
<#-- Note to UI team: do not change this div without also making the corresponding change in menu.jsp -->
|
||||
<div id="navAndSearch" class="block">
|
||||
<#include "/components/menu.ftl">
|
||||
<#include "/components/search.ftl">
|
||||
<#include "/components/search.ftl">
|
||||
</div> <!-- navAndSearch -->
|
||||
|
||||
|
||||
<#include "/components/breadcrumbs.ftl">
|
||||
</div> <!-- header -->
|
||||
|
||||
<hr class="hidden" />
|
||||
|
|
Loading…
Add table
Reference in a new issue