File tree Expand file tree Collapse file tree
sonar/modules/documents/templates/documents Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{# -*- coding: utf-8 -*-
22Swiss Open Access Repository
3- Copyright (C) 2021-2022 RERO
3+ Copyright (C) 2021-2025 RERO
44
55This program is free software: you can redistribute it and/or modify
66it under the terms of the GNU Affero General Public License as published by
@@ -435,11 +435,16 @@ <h5 id="other_files" class="mt-5">{{ _('Other files') }}</h5>
435435 < hr class ="mb-4 mt-0 ">
436436 < div class ="row ">
437437 {% for file in files %}
438- {% if loop.index > 1 %}
439- < div class ="col-lg-2 mb-5 ">
440- {{ thumbnail(record, file, stats['file-download'][file['key']] or 0) }}
441- </ div >
442- {% endif %}
438+ {% if loop.index > 1 %}
439+ < div class ="col-lg-2 ">
440+ {{ thumbnail(record, file, stats['file-download'][file['key']] or 0) }}
441+ {% if file.label %}
442+ < div class ="text-center ">
443+ {{ file.label }}
444+ </ div >
445+ {% endif %}
446+ </ div >
447+ {% endif %}
443448 {% endfor %}
444449 </ div >
445450 {% endif %}
You can’t perform that action at this time.
0 commit comments