aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Hiebel <leuhmanu@mageia.org>2021-03-02 21:47:54 +0100
committerManuel Hiebel <leuhmanu@mageia.org>2021-03-02 21:47:54 +0100
commit3ad303ab09d57d883a29ace6a1dfbe367c606947 (patch)
tree829fd3b2a8e9035bee1dc2754aa26e8e55416d59
parent9f67c69ef9696c9706d1cea0d3f649db2630dddb (diff)
downloadwww-3ad303ab09d57d883a29ace6a1dfbe367c606947.tar
www-3ad303ab09d57d883a29ace6a1dfbe367c606947.tar.gz
www-3ad303ab09d57d883a29ace6a1dfbe367c606947.tar.bz2
www-3ad303ab09d57d883a29ace6a1dfbe367c606947.tar.xz
www-3ad303ab09d57d883a29ace6a1dfbe367c606947.zip
reduce visibility of others languages links
-rw-r--r--en/doc/doc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/en/doc/doc.php b/en/doc/doc.php
index e0868687a..62957744b 100644
--- a/en/doc/doc.php
+++ b/en/doc/doc.php
@@ -135,7 +135,7 @@ function doc_list($documentation_name, $type, $version)
if ($your_language_present) {
$text_your_language = '<span style="font-weight:bold">' . _r('Documentation in your language:') . '</span><br/>';
if ($other_languages_present) {
- $text_others = '<a class="btn btn-sm btn-outline-primary" data-toggle="collapse" href="#table-'.$name.'-'.$version.'" role="button" aria-expanded="false" aria-controls="table-'.$name.'-'.$version.'">' . _r('Other languages:') . ' &#x2198; </a>';
+ $text_others = '<a class="text-muted font-weight-light" data-toggle="collapse" href="#table-'.$name.'-'.$version.'" role="button" aria-expanded="false" aria-controls="table-'.$name.'-'.$version.'">' . _r('Other languages:') . ' &#x2198; </a>';
}
$table .= sprintf("\t<caption class=\"caption-top\">%s</caption>" . PHP_EOL .
"\t<thead><tr><th class=\"border-0\">%s</th></tr></thead>" . PHP_EOL .
@@ -154,7 +154,7 @@ function doc_list($documentation_name, $type, $version)
}
$text_your_language = _r('Not <a href="../community/">yet</a> available in your language.') . ' ' . _r('Click below for alternative available languages.') . '<br/>';
$table .= sprintf("\t<caption class=\"caption-top\">%s<br/>" . PHP_EOL .
- "\t%s<a class=\"btn btn-sm btn-outline-primary\" data-toggle=\"collapse\" href=\"#table-$name-$version\" role=\"button\" aria-expanded=\"false\" aria-controls=\"table-$name-$version\"> &#x2198; </a></caption>" . PHP_EOL . '%s' .
+ "\t%s<a class=\"text-muted font-weight-light\" data-toggle=\"collapse\" href=\"#table-$name-$version\" role=\"button\" aria-expanded=\"false\" aria-controls=\"table-$name-$version\"> &#x2198; </a></caption>" . PHP_EOL . '%s' .
"\t<tbody class=\"collapse\" id=table-%s-%s>" . PHP_EOL ,
'<span style="font-weight:bold">' . $documentation_name . '</span>', $text_your_language, $language_present_before, $name, $version);
}