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

[ljcom] r10157: OPSC-305: link My Games

Committer: mchervonniy
OPSC-305: link My Games
U   trunk/bin/upgrading/s2layers/nebula/layout.s2
Modified: trunk/bin/upgrading/s2layers/nebula/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/nebula/layout.s2	2011-03-03 04:07:33 UTC (rev 10156)
+++ trunk/bin/upgrading/s2layers/nebula/layout.s2	2011-03-03 04:51:22 UTC (rev 10157)
@@ -382,6 +382,7 @@
     }
     property use text_showspam;
     property use text_hidespam;
+    property use text_view_games;
 }
 set text_navigation = "Navigation";
 set text_navigation_extra = "This page";
@@ -1162,6 +1163,9 @@
         $views = $views + "</li>\n";
     }
     $views = $views + """            <li class="inactive"><a href="$*SITEROOT/tools/memories.bml?user=$p.journal.username">$*text_view_memories</a></li>\n""";
+    if ($.view_my_games) {
+        $views = $views + """            <li class="inactive"><a href="$.journal.website_url/profile#apps">$*text_view_games</a></li>\n""";
+    }
 
     var string website_name = $.journal.website_name ? $.journal.website_name : $*text_website_default_name;
     if ($.journal.website_url != "") {

Tags: fiskus_boulder, ljcom, 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