From c5538eeb9d0aa7cab668a8b3210690b679c6dd18 Mon Sep 17 00:00:00 2001 From: tworrall Date: Wed, 20 Jun 2012 21:25:15 +0000 Subject: [PATCH] hide the manage pubs and manage grants links if there are no pubs or grants --- webapp/web/css/individual/individual.css | 2 +- .../body/partials/individual/individual-properties.ftl | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/webapp/web/css/individual/individual.css b/webapp/web/css/individual/individual.css index 1aeb3a1c3..f9e77490d 100644 --- a/webapp/web/css/individual/individual.css +++ b/webapp/web/css/individual/individual.css @@ -278,7 +278,7 @@ a.close { padding-top: 0.8em; } /* <---- Manage Prop Link, individual-properties.ftl -----*/ -a#managePropLink { +a.manageLinks { display:none; } /* <---- OpenSocial -----*/ diff --git a/webapp/web/templates/freemarker/body/partials/individual/individual-properties.ftl b/webapp/web/templates/freemarker/body/partials/individual/individual-properties.ftl index 20b4f53d0..ab4e56ee9 100644 --- a/webapp/web/templates/freemarker/body/partials/individual/individual-properties.ftl +++ b/webapp/web/templates/freemarker/body/partials/individual/individual-properties.ftl @@ -30,13 +30,13 @@ <#-- Property display name --> <#if property.localName == "authorInAuthorship" && editable>

${property.name} <@p.addLink property editable /> <@p.verboseDisplay property /> - style="padding-top:10px" > + style="padding-top:10px" > manage publications

<#elseif property.localName == "hasResearcherRole" && editable>

${property.name} <@p.addLink property editable /> <@p.verboseDisplay property /> - style="padding-top:10px" > + style="padding-top:10px" > manage grants & projects

@@ -44,7 +44,7 @@

${property.name} <@p.addLink property editable /> <@p.verboseDisplay property />

<#-- List the statements for each property --> -