File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ thead {
7171 display : inline-block ;
7272 margin-left : auto ;
7373 margin-right : auto ;
74+ margin-top : 16px ;
7475}
7576
7677.download-size {
Original file line number Diff line number Diff line change 7272 <?php else : ?>
7373 <!-- Preview frame is filled via JS to support SVG images for modern browsers -->
7474 <div id="imgframe"></div>
75+ <?php if (isset ($ _ ['mimetype ' ]) && strpos ($ _ ['mimetype ' ], 'image ' ) === 0 ) { ?>
76+ <div class="directDownload">
77+ <div>
78+ <?php p ($ l ->t ('%s ' , [$ _ ['filename ' ]]))?> (<?php p ($ _ ['fileSize ' ]) ?> )
79+ </div>
80+ <a href="<?php p ($ _ ['downloadURL ' ]); ?> " id="downloadFile" class="button">
81+ <span class="icon icon-download"></span>
82+ <?php p ($ l ->t ('Download ' ))?>
83+ </a>
84+ </div>
85+ <?php } ?>
7586 <?php endif ; ?>
7687 <?php if ($ _ ['previewURL ' ] === $ _ ['downloadURL ' ] && !$ _ ['hideDownload ' ]): ?>
7788 <div class="directDownload">
89+ <div>
90+ <?php p ($ l ->t ('%s ' , [$ _ ['filename ' ]]))?> (<?php p ($ _ ['fileSize ' ]) ?> )
91+ </div>
7892 <a href="<?php p ($ _ ['downloadURL ' ]); ?> " id="downloadFile" class="button">
7993 <span class="icon icon-download"></span>
80- <?php p ($ l ->t ('Download %s ' , [ $ _ [ ' filename ' ]] ))?> ( <?php p ( $ _ [ ' fileSize ' ]) ?> )
94+ <?php p ($ l ->t ('Download ' ))?>
8195 </a>
8296 </div>
8397 <?php endif ; ?>
You can’t perform that action at this time.
0 commit comments