more refactoring for multiple profile view support
This commit is contained in:
parent
0faa3630c2
commit
867370adb9
26 changed files with 542 additions and 184 deletions
|
@ -1,19 +1,19 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<#--
|
||||
|
||||
There are two templates for displaying publication information on foaf person pages.
|
||||
|
||||
- personPublicationSparklineContent.ftl
|
||||
- personPublicationCountNoSparkline.ftl
|
||||
- personPublicationSparklineContent.ftl, which shows the actual sparkline
|
||||
- personPublicationCountNoSparkline.ftl, which shows on counts and not the sparkline
|
||||
|
||||
The first is the template use with the Wilma theme and the individual--foaf-person.ftl
|
||||
template. The second is used with the individual--foaf-person-2column.ftl template.
|
||||
|
||||
Update the include statement below to use the correct "sparkline" template for your
|
||||
foaf person template.
|
||||
|
||||
-->
|
||||
<#if shouldVIVOrenderVis>
|
||||
<#include "personPublicationSparklineContent.ftl">
|
||||
<#-- Added requestingTemplate variable in release 1.6 to support multi-view option -->
|
||||
<#if requestingTemplate = "foaf-person-wilma" >
|
||||
<#include "personPublicationSparklineContent.ftl">
|
||||
<#else>
|
||||
<#include "personPublicationCountNoSparkline.ftl">
|
||||
</#if>
|
||||
</#if>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue