NIHVIVO-1384 Change script and stylesheet template objects to take the entire tag as a parameter, rather than just the src/href attribute.
This commit is contained in:
parent
2031249e23
commit
f0e93c468b
14 changed files with 62 additions and 116 deletions
|
@ -1,9 +1,8 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<#assign googleJSAPI = 'https://www.google.com/jsapi?autoload=%7B%22modules%22%3A%5B%7B%22name%22%3A%22visualization%22%2C%22version%22%3A%221%22%2C%22packages%22%3A%5B%22areachart%22%2C%22imagesparkline%22%5D%7D%5D%7D'>
|
||||
<#assign visualizationHelperJavaScript = 'js/visualization/visualization-helper-functions.js'>
|
||||
|
||||
${headScripts.add(googleJSAPI)}
|
||||
${scripts.add(visualizationHelperJavaScript)}
|
||||
${headScripts.add('<script type="text/javascript" src="${googleJSAPI}"></script>')}
|
||||
${scripts.add('<script type="text/javascript" src="${urls.base}/js/visualization/visualization-helper-functions.js"></script>')}
|
||||
|
||||
<#include "personGrantSparklineContent.ftl">
|
Loading…
Add table
Add a link
Reference in a new issue