rythm_of_samba (rithm_of_samba) wrote in changelog,
rythm_of_samba
rithm_of_samba
changelog

[ljcom] r7546: LJSUP-4688 Mention account type above th...

Committer: nefimenko
LJSUP-4688 Mention account type above the header of settings

U   trunk/cgi-bin/bml/scheme/lanzelot.look
U   trunk/htdocs/stc/lanzelot/css/layout.css
Modified: trunk/cgi-bin/bml/scheme/lanzelot.look
===================================================================
--- trunk/cgi-bin/bml/scheme/lanzelot.look	2009-08-06 02:11:21 UTC (rev 7545)
+++ trunk/cgi-bin/bml/scheme/lanzelot.look	2009-08-06 07:39:52 UTC (rev 7546)
@@ -24,7 +24,7 @@
 
 minimap<=
 <ul>
-    <li><a href="<?siteroot?>/manage/horizon.bml"><?_ml horizon.sitemap.manage_account _ml?></a></li>
+    <li><a href="<?siteroot?>/manage/horizon.bml"><?_ml horizon.sitemap.manage_account _ml?></a><a href="<?siteroot?>/manage/account/">$account_icon</a></li>
     <li><a href="<?siteroot?>/manage/payments/"><?_ml horizon.sitemap.upgrade _ml?></a></li>
     <li><a href="<?siteroot?>/shop/"><?_ml horizon.sitemap.giftshop _ml?></a></li>
     <li><a href="<?siteroot?>/download/"><?_ml horizon.sitemap.downloads _ml?></a></li>
@@ -145,6 +145,10 @@
     my $remote_journal_base = ($remote->{journaltype} ne 'I') ? $remote->journal_base() : $remote->identity->value;
     my $remote_friends_url  = $remote->journal_base() . "/friends/";
     my $remote_display_name = $remote->display_name;
+    my $account_icon = $remote->get_cap('paid') ?
+        "<img src='$LJ::IMGPREFIX/paid.gif' alt='' border='0' />" :
+        "<img src='$LJ::STATPREFIX/horizon/upgrade-paid-icon.gif' alt='' border='0' />";
+
         # Messages/ESN link
     my $messages = '';
     if ($remote->can_use_esn) {
@@ -168,7 +172,7 @@
                 <a href='$LJ::SITEROOT/editpics.bml'><img class="userpic" src="$userpic_url" height="40" title="$remote->{'user'}" alt="" /></a>
         <ul>
             <li><a href="$LJ::SITEROOT/update.bml"><?_ml lanzelot.item.postlj _ml?></a> <a href="$remote_friends_url"><?_ml lanzelot.item.friends _ml?></a> $messages
-            <li><a href="<?siteroot?>/manage/settings/index2.bml?cat=account "><?_ml lanzelot.item.account _ml?></a> <a href="http://livejournal.ru/counter/"><?_ml lanzelot.item.ljru.statistics _ml?></a> <a href="http://pics.livejournal.com"><?_ml lanzelot.item.ljplus.photo _ml?></a></li>
+            <li><a href="<?siteroot?>/manage/settings/index2.bml?cat=account "><?_ml lanzelot.item.account _ml?></a><a href="<?siteroot?>/manage/account/" class="account-icon">$account_icon</a> <a href="http://livejournal.ru/counter/"><?_ml lanzelot.item.ljru.statistics _ml?></a> <a href="http://pics.livejournal.com"><?_ml lanzelot.item.ljplus.photo _ml?></a></li>
                 </ul>
                 <div class="tshort"><img src="<?statprefix?>/lanzelot/img/tshort.gif" width="10" height="11"><a href="http://shop.livejournal.ru/"><?_ml lanzelot.item.tshorts _ml?></a></div>
         </dd>

Modified: trunk/htdocs/stc/lanzelot/css/layout.css
===================================================================
--- trunk/htdocs/stc/lanzelot/css/layout.css	2009-08-06 02:11:21 UTC (rev 7545)
+++ trunk/htdocs/stc/lanzelot/css/layout.css	2009-08-06 07:39:52 UTC (rev 7546)
@@ -121,6 +121,12 @@
         .userbar DD A {
                 margin-left:6px;
                 }
+		.userbar DD A.account-icon {
+			    border: 0;
+			    margin-left: 3px;
+				position: relative;
+				top: 3px;
+			}
 
 /* Login Box
 -------------------------------------- */

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