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

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

Committer: mchervonniy
OPSC-305: link My Games
U   trunk/bin/upgrading/s2layers/tabularindent/layout.s2
Modified: trunk/bin/upgrading/s2layers/tabularindent/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/tabularindent/layout.s2	2011-03-03 05:47:08 UTC (rev 18455)
+++ trunk/bin/upgrading/s2layers/tabularindent/layout.s2	2011-03-03 06:30:35 UTC (rev 18456)
@@ -223,6 +223,7 @@
   }
   property use text_showspam;
   property use text_hidespam;
+  property use text_view_games;
 }
 set text_left_comments = "comments: ";
 set text_btwn_comments = " or ";
@@ -321,6 +322,10 @@
                            lang_viewname($v) :
                            "<a href='$p.view_url{$v}'>"+lang_viewname($v)+"</a>") + ".</td></tr>\n";
     }
+    var string games;
+    if ($p.view_my_games) {
+        $games = "<tr><td>View:</td><td><a href=\"$p.journal.website_url/profile#apps\">$*text_view_games</a>";
+    }
 
     var string captionbar_userpicbox_style = "background-color: $*captionbar_userpicbox_color";
     """
@@ -331,7 +336,8 @@
     """
     <table border='0'>
       $links
-      $website""";
+      $website
+      $games""";
       $p->print_linklist();
       """
       <tr>

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