The following test will indicated if a user has been authenticated.

<xsl:if test="/dri:document/dri:meta/dri:userMeta[@authenticated='yes']"/>

If you add "?XML" to your item summary display page, you will see the
following markup.

<div id="aspect.artifactbrowser.ItemViewer.div.item-view" rend="primary" n="
item-view">
<head>Mult bitstreams with SIP</head>
<p rend="item-view-toggle item-view-toggle-top">
<xref target="/handle/10822.1/706279?show=full">
<i18n:text catalogue="default">xmlui.ArtifactBrowser.ItemViewer.show_full
</i18n:text>
</xref>
</p>


You should be able to add a template to conditionally display the
item-toggle-view.

Terry


On Thu, Jul 10, 2014 at 10:20 AM, Anna Goslen <[email protected]>
wrote:

> Hi all,
>
> I would like to hide the "show full item record" link on the item record
> unless the user is authenticated.
>
> We are using DSpace 3.1 with XMLUI, Mirage theme.
>
> Thanks for any help anyone can provide!
>
> Anna
>
>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>



-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
https://www.library.georgetown.edu/lit/code
425-298-5498
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to