Максим Червонный (fiskus_boulder) wrote in changelog,
Максим Червонный
fiskus_boulder
changelog

[livejournal] r18438: OPSC-305: link My Games

Committer: mchervonniy
OPSC-305: link My Games
U   trunk/bin/upgrading/s2layers/classic/layout.s2
U   trunk/bin/upgrading/s2layers/cleansimple/layout.s2
Modified: trunk/bin/upgrading/s2layers/classic/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/classic/layout.s2	2011-03-02 10:54:00 UTC (rev 18437)
+++ trunk/bin/upgrading/s2layers/classic/layout.s2	2011-03-02 11:03:08 UTC (rev 18438)
@@ -510,7 +510,7 @@
 """<tr><td>""";
     var string games;
     if ($.view_my_games) {
-        $games = "[<a href=\"$.journal.website_url/profile#apps\" class=\"nav\">$*text_view_games</a>]";
+        $games = "[<a href=\"$.journal.website_url/profile#apps\">$*text_view_games</a>]";
     }
  
 print safe """<table class="main" width="100%"><tr><td>

Modified: trunk/bin/upgrading/s2layers/cleansimple/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/cleansimple/layout.s2	2011-03-02 10:54:00 UTC (rev 18437)
+++ trunk/bin/upgrading/s2layers/cleansimple/layout.s2	2011-03-02 11:03:08 UTC (rev 18438)
@@ -245,6 +245,8 @@
   }
   property use text_showspam;
   property use text_hidespam;
+  property use text_view_games;
+ 
 }
 set opt_text_left_comments = "";
 set opt_text_btwn_comments = " | ";
@@ -638,9 +640,14 @@
         """</a></li>""";
     }
 }
+var string games;
+if ($.view_my_games) {
+    $games = "<li><a href=\"$.journal.website_url/profile#apps\">$*text_view_games</a></li>";
+}
 
 """
 $website
+$games
 </ul>
 """;
     $this->lay_viewspec_nav();

Tags: fiskus_boulder, livejournal, s2
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments