From fbb6687dd5b61cded589a6da633ab133cf05dafd Mon Sep 17 00:00:00 2001 From: Dalmon Ian Martins de Oliveira <dimo13.c3sl.ufpr.br> Date: Tue, 15 Apr 2014 10:27:22 -0300 Subject: [PATCH] Add button to see page statistics Signed-off-by: Dalmon Ian Martins de Oliveira <dimo13.c3sl.ufpr.br> --- .../Participatorio-mobile.xsl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/dspace/modules/xmlui/src/main/webapp/themes/Participatorio-mobile/Participatorio-mobile.xsl b/dspace/modules/xmlui/src/main/webapp/themes/Participatorio-mobile/Participatorio-mobile.xsl index 3487351..7022fe7 100644 --- a/dspace/modules/xmlui/src/main/webapp/themes/Participatorio-mobile/Participatorio-mobile.xsl +++ b/dspace/modules/xmlui/src/main/webapp/themes/Participatorio-mobile/Participatorio-mobile.xsl @@ -611,6 +611,21 @@ </div> </xsl:if> +<!-- Add buttom to see page statistics --> +<div class="metadata-view"> + <xsl:variable name="statsPage" + select="concat($mobile-url,'/',$page-url,'/','statistics')" /> + <a> + <xsl:attribute name="target"> + <xsl:text>_blank</xsl:text> + </xsl:attribute> + <xsl:attribute name="href"> + <xsl:value-of select="$statsPage" /> + </xsl:attribute> + <i18n:text>xmlui.general.statistics</i18n:text> + </a> +</div> + </div><!-- metadata wrapper --> </xsl:template> -- GitLab