Skip to content
Snippets Groups Projects
Commit 4e8cecd1 authored by Felix Kopp's avatar Felix Kopp Committed by Wouter Wolters
Browse files

[TASK] Style "Download" button - element information

Brings button style to "Download" link with download icon.

Change-Id: I4edae8b861d9c6f98f156d8b538031dd8ca8f62c
Resolves: #55597
Releases: 6.2
Reviewed-on: https://review.typo3.org/27267
Reviewed-by: Marcin Sągol
Tested-by: Marcin Sągol
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
parent 162dad6c
Branches
Tags
No related merge requests found
......@@ -283,7 +283,8 @@ class ElementInformationController {
// Display download link?
if ($this->fileObject->getPublicUrl()) {
$downloadLink .= '<a href="../' . $this->fileObject->getPublicUrl() . '" target="_blank">' .
$downloadLink .= '<a href="../' . $this->fileObject->getPublicUrl() . '" target="_blank" class="t3-button">' .
IconUtility::getSpriteIcon('actions-edit-download') . ' ' .
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_common.xlf:download', TRUE) .
'</a>';
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment