mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Make "Out of Date" pkgs more NOTICABLE.
Includes a translation change. Why oh why would one conceive to put HTML markup into the translation? Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
parent
a21b8c1209
commit
da9d2b9e0d
3 changed files with 9 additions and 3 deletions
|
@ -179,6 +179,12 @@
|
|||
padding-left: .3em;
|
||||
text-align: left;
|
||||
}
|
||||
.outofdate
|
||||
{
|
||||
background-color: #faa;
|
||||
padding-left: .3em;
|
||||
text-align: left;
|
||||
}
|
||||
td.text
|
||||
{
|
||||
color: #000;
|
||||
|
|
|
@ -95,7 +95,7 @@ $_t["en"]["Search Criteria"] = "Search Criteria";
|
|||
|
||||
$_t["en"]["Notify"] = "Notify";
|
||||
|
||||
$_t["en"]["O%hut-of-Date"] = "O%hut-of-Date";
|
||||
$_t["en"]["Out of Date"] = "Out of Date";
|
||||
|
||||
$_t["en"]["Vote"] = "Vote";
|
||||
|
||||
|
|
|
@ -1121,7 +1121,7 @@ function pkg_search_page($SID="") {
|
|||
if ($SID) {
|
||||
print " <td class='".$c."'>";
|
||||
if ($row["OutOfDate"]) {
|
||||
print "<span style='background-color: red'>";
|
||||
$c = "outofdate";
|
||||
}
|
||||
print "<input type='checkbox' name='IDs[".$row["ID"]."]' value='1'>";
|
||||
# if ($i == 0) {
|
||||
|
@ -1238,7 +1238,7 @@ function pkg_search_page($SID="") {
|
|||
print " <td colspan='2' align='center'>";
|
||||
print " <span class='f5'>\n";
|
||||
if ($SID) {
|
||||
print " <font style='background-color: red'>".__("O%hut-of-Date", array('</font>'))." ";
|
||||
print ' <span class="outofdate">'.__("Out of Date").' </span>'." ";
|
||||
}
|
||||
print ' <span class="green">'.__("Safe")."</span>\n";
|
||||
print " </span></td>\n";
|
||||
|
|
Loading…
Add table
Reference in a new issue