[Slashdotjp-dev 1474] [1005] Change color to red for "This story will not appear" messa****@admin*****

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 2月 13日 (金) 13:23:56 JST


Revision: 1005
          http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=1005
Author:   tach
Date:     2009-02-13 13:23:56 +0900 (Fri, 13 Feb 2009)

Log Message:
-----------
Change color to red for "This story will not appear" messa****@admin*****

Modified Paths:
--------------
    slashjp/trunk/debian/changelog
    slashjp/trunk/plugins/Admin/admin.pl


-------------- next part --------------
Modified: slashjp/trunk/debian/changelog
===================================================================
--- slashjp/trunk/debian/changelog	2009-02-12 12:38:25 UTC (rev 1004)
+++ slashjp/trunk/debian/changelog	2009-02-13 04:23:56 UTC (rev 1005)
@@ -5,8 +5,9 @@
   * Remove "Index" topic on topic list at story editing from submission
     using constants "submission_remove_mainpage_nexus_tid"
   * Fix SQL to get top journals at journal_update_slashbox.pl
+  * Change color to red for "This story will not appear" messa****@admin*****
 
- -- Taku YASUI <tach****@osdn*****>  Fri,  6 Feb 2009 09:27:14 +0000
+ -- Taku YASUI <tach****@osdn*****>  Fri, 13 Feb 2009 04:22:33 +0000
 
 slash (2.5.0.233-4) unstable; urgency=low
 

Modified: slashjp/trunk/plugins/Admin/admin.pl
===================================================================
--- slashjp/trunk/plugins/Admin/admin.pl	2009-02-12 12:38:25 UTC (rev 1004)
+++ slashjp/trunk/plugins/Admin/admin.pl	2009-02-13 04:23:56 UTC (rev 1005)
@@ -1708,12 +1708,13 @@
 
 	my $desc;
 	if (!@sorted_nexuses) {
-		$desc = "This story will not appear because ";
+		$desc = "<font color=\"#CC0000\">This story will not appear because ";
 		if (!%$topics_rendered) {
 			$desc .= "no topics are selected.";
 		} else {
 			$desc .= "no topics in any nexuses are selected.";
 		}
+		$desc .= "</font>";
 	} else {
 		$desc = "This story ";
 		if ($display) {



Slashdotjp-dev メーリングリストの案内
Back to archive index