[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r13345: if there's no translation for a page but it's marked as tran (website/trunk/en)



Author: arma
Date: 2008-01-31 13:39:18 -0500 (Thu, 31 Jan 2008)
New Revision: 13345

Modified:
   website/trunk/en/translation-status.wml
Log:
if there's no translation for a page but it's marked as
translation-priority none, don't make it red.


Modified: website/trunk/en/translation-status.wml
===================================================================
--- website/trunk/en/translation-status.wml	2008-01-31 04:55:45 UTC (rev 13344)
+++ website/trunk/en/translation-status.wml	2008-01-31 18:39:18 UTC (rev 13345)
@@ -127,7 +127,8 @@
 						$difflink,
 						$validatorlink;
 				} else {
-					$color=($obs ? '#90EE90' : 'red');
+					$color=(($obs or $priority eq 'none') ?
+						'#90EE90' : 'red');
 					$status='missing';
 					printf '<td bgcolor="%s">%s</td>', $color, $status;
 				};