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

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

Committer: mchervonniy
OPSC-305: link My Games
U   trunk/bin/upgrading/s2layers/magazine/layout.s2
Modified: trunk/bin/upgrading/s2layers/magazine/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/magazine/layout.s2	2011-03-03 04:38:13 UTC (rev 18446)
+++ trunk/bin/upgrading/s2layers/magazine/layout.s2	2011-03-03 04:44:46 UTC (rev 18447)
@@ -212,6 +212,7 @@
   }
   property use text_showspam;
   property use text_hidespam;
+  property use text_view_games;
 }
 set text_left_comments = "(";
 set text_btwn_comments = " | ";
@@ -509,8 +510,12 @@
                            "<span class='Active'>"+lang_viewname($v)+"</span>" :
                            "<a href='$.view_url{$v}'>"+lang_viewname($v)+"</a>") + ")</span>\n";
     }
+    var string games;
+    if ($.view_my_games) {
+        $games = "(<span style='white-space: nowrap;'><a href=\"$.journal.website_url/profile#apps\">$*text_view_games</a>)</span>";
+    }
 
-    """<p class="Navigation">$links $website<br />""";
+    """<p class="Navigation">$links $website $games<br />""";
     $this->lay_skip_navigation();
     if ($*counter_code != "") {
         """<p class="Navigation">$*counter_code</p>""";

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