Skip to content

Commit

Permalink
Merge pull request #513 from ufal/issue_505
Browse files Browse the repository at this point in the history
Issue 505
  • Loading branch information
vidiecan committed Apr 6, 2016
2 parents 7374ad6 + 181c321 commit c696c9d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
3 changes: 3 additions & 0 deletions dspace-xmlui/src/main/webapp/i18n/messages.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2949,6 +2949,9 @@
<message key="xmlui.UFAL.artifactbrowser.item_view.replaced_one">This item is replaced by a newer submission:</message>
<message key="xmlui.UFAL.artifactbrowser.item_view.replaced_many">This item is replaced by newer submissions:</message>
<message key="xmlui.UFAL.artifactbrowser.item_view.licensed_under">This item is {0} and licensed under:<BR/></message>
<message key="xmlui.UFAL.artifactbrowser.item_view.preview">Preview</message>
<message key="xmlui.UFAL.artifactbrowser.item_view.file_preview">File Preview</message>


<!-- UFAL/lib/xsl/core/navigation.xsl -->
<message key="xmlui.UFAL.navigation.menu_head">What can you do?</message>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -920,8 +920,8 @@
<xsl:attribute name="href">
<xsl:text>#file_</xsl:text><xsl:value-of select="@ID" />
</xsl:attribute>
<i class="fa fa-file-eye">&#160;</i>
Preview
<i class="fa fa-eye">&#160;</i>
<i18n:text>xmlui.UFAL.artifactbrowser.item_view.preview</i18n:text>
</a>
<div class="collapse">
<xsl:attribute name="id">
Expand All @@ -930,7 +930,7 @@
<div class="panel panel-info" style="margin: 5px 1px 1px 1px;">
<div class="bold panel-heading text-center" style="height: auto; padding: 0px;">
<i class="fa fa-eye">&#160;</i>
File Preview
<i18n:text>xmlui.UFAL.artifactbrowser.item_view.file_preview</i18n:text>
<a role="button" data-toggle="collapse" class="pull-right">
<xsl:attribute name="href">
<xsl:text>#file_</xsl:text><xsl:value-of select="@ID" />
Expand All @@ -943,12 +943,12 @@
<xsl:copy-of select="mets:Local/mets:file"/>
</xsl:variable>
<xsl:choose>
<xsl:when test="@MIMETYPE='application/zip'">
<xsl:value-of select="ft:parse($files)" disable-output-escaping="yes" />
</xsl:when>
<xsl:when test="@MIMETYPE='text/plain'">
<xsl:value-of select="$files" disable-output-escaping="yes" /> . . .
</xsl:when>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="ft:parse($files)" disable-output-escaping="yes" />
</xsl:otherwise>
</xsl:choose>
</div>
</div>
Expand All @@ -960,7 +960,7 @@
<xsl:text>#file_</xsl:text><xsl:value-of select="@ID" />
</xsl:attribute>
<i class="fa fa-eye">&#160;</i>
Preview
<i18n:text>xmlui.UFAL.artifactbrowser.item_view.preview</i18n:text>
</a>
<div class="collapse">
<xsl:attribute name="id">
Expand All @@ -969,7 +969,7 @@
<div class="panel panel-info" style="margin: 5px 1px 1px 1px;">
<div class="bold panel-heading text-center" style="height: auto; padding: 0px;">
<i class="fa fa-eye">&#160;</i>
File Preview
<i18n:text>xmlui.UFAL.artifactbrowser.item_view.file_preview</i18n:text>
<a role="button" data-toggle="collapse" class="pull-right">
<xsl:attribute name="href">
<xsl:text>#file_</xsl:text><xsl:value-of select="@ID" />
Expand Down
2 changes: 2 additions & 0 deletions dspace/modules/xmlui/src/main/webapp/i18n/messages_cs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3223,6 +3223,8 @@
<message key="xmlui.UFAL.artifactbrowser.item_view.replaced_one">Tento záznam byl nahrazen novější verzí:</message>
<message key="xmlui.UFAL.artifactbrowser.item_view.replaced_many">Tento záznam byl nahrazen novějšími verzemi:</message>
<message key="xmlui.UFAL.artifactbrowser.item_view.licensed_under">Licenční kategorie: {0} <br/>Licence: </message>
<message key="xmlui.UFAL.artifactbrowser.item_view.preview">Náhled</message>
<message key="xmlui.UFAL.artifactbrowser.item_view.file_preview">Náhled souboru</message>

<!-- DisplayShareLink -->
<message key="xmlui.aspect.submission.submit.DisplayShareLink.title">Sdílet odkaz</message>
Expand Down

0 comments on commit c696c9d

Please sign in to comment.