Refactored approach for inserting visualization links on menu pages. Still hoping to remove JavaScript altogether based on outcome of NIHVIVO-1681. Also introduced the initial version of application-wide styles with vitro.css.

This commit is contained in:
nac26 2011-01-13 14:05:14 +00:00
parent cde5de7217
commit 6b47329954
3 changed files with 31 additions and 2 deletions

View file

@ -4,12 +4,12 @@
<h3>${page.title}</h3>
<section id="content-generic-class" role="region">
<h4>Visual Graph</h4>
<#-- This will allow us to keep menupage.ftl generic and keep vivo-specific extensions in VIVO -->
<#if visualizationLink??>
${visualizationLink}
</#if>
<h4>Visual Graph</h4>
<#include "menupage-vClassesInClassgroup.ftl">

View file

@ -2,4 +2,7 @@
<#-- Template for loading stylesheets in the head -->
${stylesheets.add("/css/edit.css")} <#--temporary until edit controller can include this when needed -->
<!-- vitro base styles (application-wide) -->
<link rel="stylesheet" href="${urls.base}/css/vitro.css" />
${stylesheets.tags}