NIHVIVO-3728 vitro components of publications management

This commit is contained in:
tworrall 2012-05-22 20:24:42 +00:00
parent 3d2f83039c
commit be80e6ef41
2 changed files with 17 additions and 4 deletions

View file

@ -277,3 +277,8 @@ a.close {
display: block;
padding-top: 0.8em;
}
/* <---- Manage Prop Link, individual-properties.ftl -----*/
a#managePropLink {
display:none;
}

View file

@ -3,7 +3,7 @@
<#-- Template for property listing on individual profile page -->
<#import "lib-properties.ftl" as p>
<#assign subjectUri = individual.controlPanelUrl()?split("=") >
<#list propertyGroups.all as group>
<#assign groupName = group.getName(nameForOtherGroup)>
@ -27,7 +27,15 @@
<#list group.properties as property>
<article class="property" role="article">
<#-- Property display name -->
<h3 id="${property.localName}">${property.name} <@p.addLink property editable /> <@p.verboseDisplay property /></h3>
<#if property.localName == "authorInAuthorship" >
<h3 id="${property.localName}">${property.name} <@p.addLink property editable /> <@p.verboseDisplay property />
<a id="managePropLink" href="${urls.base}/managePublications?subjectUri=${subjectUri[1]!}" title="manage publications" <#if verbosePropertySwitch.currentValue>style="padding-top:10px"</#if> >
manage publications
</a>
</h3>
<#else>
<h3 id="${property.localName}">${property.name} <@p.addLink property editable /> <@p.verboseDisplay property /> </h3>
</#if>
<#-- List the statements for each property -->
<ul class="property-list" role="list">
<#-- data property -->