NIHVIVO 3722, 3723 and 3725 css and js changes for OpenSocial gadgets

This commit is contained in:
tworrall 2012-06-19 13:38:25 +00:00
parent 075f7338c3
commit fc6be48674
2 changed files with 26 additions and 19 deletions

View file

@ -104,16 +104,18 @@
<#-- VIVO OpenSocial Extension by UCSF -->
<#if openSocial??>
<#if openSocial.visible>
<#-- It would likely make sense to remove the #if logic as it is safe and -->
<#-- arguably better to just have both divs in all conditions -->
<#if editable>
<div id="gadgets-edit" class="gadgets-gadget-parent"></div>
<#else>
<div id="gadgets-view" class="gadgets-gadget-parent"></div>
</#if>
<div id="openSocial">
<h2>OpenSocial</h2>
<#-- It would likely make sense to remove the #if logic as it is safe and -->
<#-- arguably better to just have both divs in all conditions -->
<#if editable>
<div id="gadgets-edit" class="gadgets-gadget-parent"></div>
<#else>
<div id="gadgets-view" class="gadgets-gadget-parent" ></div>
</#if>
</div>
</#if>
</#if>
</#if>
</section>
</section>