Commit 69c5468b authored by alexpott's avatar alexpott

Issue #2215543 by Antti J. Salminen, mrjmd, alexrayu, olemedia | joelpittet:...

Issue #2215543 by Antti J. Salminen, mrjmd, alexrayu, olemedia | joelpittet: Replace strong tag with CSS in template_preprocess_authorize_report and remove id..
parent 79f952a0
......@@ -116,7 +116,7 @@ function theme_authorize_report($variables) {
$messages = $variables['messages'];
$output = '';
if (!empty($messages)) {
$output .= '<div id="authorize-results">';
$output .= '<div class="authorize-results">';
foreach ($messages as $heading => $logs) {
$items = array();
foreach ($logs as $number => $log_message) {
......@@ -158,10 +158,10 @@ function theme_authorize_message($variables) {
$message = $variables['message'];
$success = $variables['success'];
if ($success) {
$item = array('data' => $message, 'class' => array('success'));
$item = array('data' => $message, 'class' => array('authorize-results__success'));
}
else {
$item = array('data' => '<strong>' . $message . '</strong>', 'class' => array('failure'));
$item = array('data' => $message, 'class' => array('authorize-results__failure'));
}
return $item;
}
......@@ -43,3 +43,10 @@
#edit-connection-settings-change-connection-type {
margin: 2.6em 0.5em 0 1em;
}
/**
* Theme maintenance styles
*/
.authorize-results__failure {
font-weight: bold;
}
Markdown is supported
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