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

[ljcom] r10737: LJSUP-9229: My Games link removed from I...

Committer: mchervonniy
LJSUP-9229: My Games link removed from Ipad style
U   trunk/bin/upgrading/s2layers/sup/themes.s2
Modified: trunk/bin/upgrading/s2layers/sup/themes.s2
===================================================================
--- trunk/bin/upgrading/s2layers/sup/themes.s2	2011-07-05 08:14:52 UTC (rev 10736)
+++ trunk/bin/upgrading/s2layers/sup/themes.s2	2011-07-05 08:24:57 UTC (rev 10737)
@@ -558,13 +558,9 @@
     var string _nav = """ <li class="item item-recent""" + (($.view == "recent")?" item-selected":"") + """"><a""" + (($*exact_view != "recent_first")?" rel=\"home\" href=\"$*base_url\"":"") + """>$*text_view_recent</a></li> <li class="item item-friends""" + (($.view == "friends")?" item-selected":"") + """"><a""" + (($*exact_view != "friends_first")?" href=\"$*base_url/friends\"":"") + """>$*text_view_friends</a></li> <li class="item item-archive""" + (($.view == "archive" or $.view == "month" or $.view == "day")?" item-selected":"") + """"><a""" + (($*exact_view != "archive_first")?" href=\"$*base_url/calendar\"":"") + """>$*text_view_archive</a></li> <li class="item item-profile"><a href="$*base_url/profile">$*text_view_userinfo</a></li> <li class="item item-tag""" + (($.view == "tags")?" item-selected":"") + """"><a href="$*base_url/tag">$*text_tags_page_header</a></li> """;
     var string rsslink = ($.data_link{"rss"})?($.data_link{"rss"}.url):"$*base_url/data/rss";
     var Link addlink = $.journal -> get_link("add_friend");
-    var string _games;
-    if ($.view_my_games) {
-        $_games = """<li class="item item-games"><a href="$.journal.website_url/profile#apps">$*text_view_games</a></li>""";
-    }
     var string addfriend = (not viewer_is_owner() and $addlink.url != "") ? $addlink.url : "";
-    var string _nav_sub = ($addfriend ? """ <li class="item item-addfriend"><a class="btn btn-add" href="$addfriend"><span><span><span>$*text_friend_add</span></span></span></a></li> """ : "") + """ <li class="item item-rss"><a class="btn btn-rss" href="$rsslink"><span><span><span>RSS</span></span></span></a></li>$_games""";
-    if ($*active_theme == "x3") { $_nav_sub = ($addfriend ? """ <li class="item item-addfriend"><a href="$addfriend">$*text_friend_add</a></li> """ : "") + """ <li class="item item-rss"><a href="$rsslink">RSS</a></li> $_games """; }
+    var string _nav_sub = ($addfriend ? """ <li class="item item-addfriend"><a class="btn btn-add" href="$addfriend"><span><span><span>$*text_friend_add</span></span></span></a></li> """ : "") + """ <li class="item item-rss"><a class="btn btn-rss" href="$rsslink"><span><span><span>RSS</span></span></span></a></li>""";
+    if ($*active_theme == "x3") { $_nav_sub = ($addfriend ? """ <li class="item item-addfriend"><a href="$addfriend">$*text_friend_add</a></li> """ : "") + """ <li class="item item-rss"><a href="$rsslink">RSS</a></li> """; }
     var string _h2 = """<h2><span>$.global_title</span></h2>""";
     var string _h3 = "";
     if ($.view == "friends" and $*_FriendsPage.friends_title != "") {
@@ -581,7 +577,7 @@
             <div class="content$_hfeed">
                 <div class="content-inner">
                     <div class="header">
-                        <div class="nav-wrapper""" + ($addfriend ? " nav-addfriend" : "") + ($.view_my_games ? "nav-games" : "") + """\">
+                        <div class="nav-wrapper""" + ($addfriend ? " nav-addfriend" : "") + """\">
                         <ul class="nav">
                             $_nav
                             $_nav_sub

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