mirror of
https://github.com/Cian-H/invenio-theme-iform.git
synced 2026-03-24 22:02:46 +00:00
version badge
seperated version badge from publication_date
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
<div class="ui stackable grid">
|
||||
|
||||
<!---Recent uploads-->
|
||||
<!---Recent uploads-->
|
||||
<div class="ten wide column">
|
||||
<h2>{{_('Recent uploads')}}</h2>
|
||||
|
||||
@@ -35,6 +35,10 @@
|
||||
|
||||
<!--Publication date badge-->
|
||||
<span class="ui label teal" title="{{_('Publication date')}}">{{ r.publication_date }}
|
||||
</span>
|
||||
|
||||
<!--Version badge-->
|
||||
<span class="label record-version" title="{{_('Version')}}">
|
||||
{{ (' | ' ~ r.version ~ '') if r.version else ' | Version' }}</span>
|
||||
|
||||
<!--Resource type badge-->
|
||||
@@ -44,9 +48,11 @@
|
||||
|
||||
<!--Access right badge-->
|
||||
<span class="ui label green">{{_('Open Access')}}</span>
|
||||
|
||||
</div>
|
||||
|
||||
<h4><a href="{{ record_url }}">{{r.titles[0].title}}</a></h4>
|
||||
|
||||
<p>{{ creators(r.creators) }}</p>
|
||||
|
||||
<p class="hidden-xs"><a href="{{record_url}}">{{ r.descriptions[0].description|striptags|truncate(300) }}</a></p>
|
||||
@@ -54,6 +60,9 @@
|
||||
<small>{% trans user=userprofile, date=creation_date|dateformat('long') %}Uploaded on
|
||||
{{date}}{% endtrans %}</small>
|
||||
|
||||
<!----TODO: more versions
|
||||
-->
|
||||
|
||||
{%- if not loop.last %}
|
||||
<div class="ui divider"></div>
|
||||
{%- else%}
|
||||
@@ -61,7 +70,7 @@
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!---segments-->
|
||||
<div class="six wide column">
|
||||
@@ -94,6 +103,8 @@
|
||||
|
||||
</div>
|
||||
|
||||
<div style="padding-bottom: 10px;"></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user