Commit 3c1cd324 authored by Elias Villiger's avatar Elias Villiger
Browse files

Merge branch '6484-download-link-class' into 'master'

Bug #6484: Download Links mit css class

See merge request !75
parents 9a83724e 17be9e34
Pipeline #834 passed with stage
in 1 minute and 44 seconds
......@@ -1384,6 +1384,11 @@ EOF;
return $vars;
}
if ($vars[NAME_LINK_CLASS] !== '') { // custom class
$bootstrapButton = $vars[NAME_LINK_CLASS];
$vars[NAME_LINK_CLASS] = ''; // prevent this class from also being used in the wrapping element
}
$text = DOWNLOAD_POPUP_REPLACE_TEXT;
$title = DOWNLOAD_POPUP_REPLACE_TITLE;
......
Supports Markdown
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