Савинцев Егор 🚶 (savintsev_egor) wrote in changelog,
Савинцев Егор 🚶
savintsev_egor
changelog

[ljcom] r12096: LJSUP-12270: New Style - Football

Committer: esavintcev
LJSUP-12270: New Style - Football
U   trunk/bin/upgrading/s2layers/sup/themes.s2
U   trunk/cgi-bin/LJ/S2Theme/sup.pm
Modified: trunk/bin/upgrading/s2layers/sup/themes.s2
===================================================================
--- trunk/bin/upgrading/s2layers/sup/themes.s2	2012-06-09 11:16:55 UTC (rev 12095)
+++ trunk/bin/upgrading/s2layers/sup/themes.s2	2012-06-09 11:22:44 UTC (rev 12096)
@@ -3370,7 +3370,7 @@
     var string rsslink = ($.data_link{"rss"})?($.data_link{"rss"}.url):"$*base_url/data/rss";
     var Link addlink = $.journal -> get_link("add_friend");
     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>""";
+    var string _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>""";
     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 = "";

Modified: trunk/cgi-bin/LJ/S2Theme/sup.pm
===================================================================
--- trunk/cgi-bin/LJ/S2Theme/sup.pm	2012-06-09 11:16:55 UTC (rev 12095)
+++ trunk/cgi-bin/LJ/S2Theme/sup.pm	2012-06-09 11:22:44 UTC (rev 12096)
@@ -199,7 +199,7 @@
 
 package LJ::S2Theme::sup::football;
 use base qw(LJ::S2Theme::sup);
-sub cats { qw( sup premium football sport ) }
+sub cats { qw( sup premium football featured sports ) }
 sub designer { "Gennady" }
 
 1;

Tags: esavintcev, ljcom, pm, s2, savintsev_egor
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