Skip to content

Commit

Permalink
Merge pull request #443 from rekt-hard/199-search-results-label-issue
Browse files Browse the repository at this point in the history
ui: change stats label from unique to total
  • Loading branch information
ntarocco authored Aug 8, 2023
2 parents 0e6f5ed + c312e0e commit 921d7e5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions templates/semantic-ui/zenodo_rdm/macros/record_item.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,20 +103,20 @@
<small>
{% if unique_views is defined %}
<div id="uniqueViews" class="ui transparent label stats-popup">
<i class="ui eye icon" aria-label="{{ _('Unique views') }}"></i>
<i class="ui eye icon" aria-label="{{ _('Total views') }}"></i>
{{ unique_views }}
<div class="ui tiny popup">
{{ _("Unique views") }}
{{ _("Total views") }}
</div>
</div>
{% endif %}

{% if unique_downloads is defined %}
<div id="uniqueDownloads" class="ui transparent label stats-popup">
<i class="ui download icon" aria-label="{{ _('Unique downloads') }}"></i>
<i class="ui download icon" aria-label="{{ _('Total downloads') }}"></i>
{{ unique_downloads}}
<div class="ui tiny popup">
{{ _("Unique downloads") }}
{{ _("Total downloads") }}
</div>
</div>
{% endif %}
Expand All @@ -132,4 +132,4 @@
</div>
</div>
</li>
{% endmacro %}
{% endmacro %}

0 comments on commit 921d7e5

Please sign in to comment.