Commit f83d8354 authored by Carl Schwan's avatar Carl Schwan 🚴
Browse files

Simplify i18n bar

parent 14f97ae1
......@@ -136,8 +136,7 @@ function print_release_bar($release) {
$first_element = True;
if (!empty($announcement_langs[$release])) {
echo '<p>';
print i18n("Also available in:");
echo '<br /><br />';
print i18n("Also available in: ");
}
foreach ($announcement_langs[$release] as $rel_lang) {
if (isset($language_codes[$rel_lang])) {
......@@ -156,7 +155,7 @@ function print_release_bar($release) {
.$rel_lang.'">'.$curr_lang.'</a>';
}
if (!empty($announcement_langs[$release])) {
echo '<br /><br /></p>';
echo '</p>';
}
}
}
......
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