Снорк (nely_snork) wrote in changelog,
Снорк
nely_snork
changelog

[ljcom] r11622: LJSUP-11621: Too many different headers ...

Committer: narefieva
LJSUP-11621: Too many different headers of widgets at logged-out cyr homepage
U   trunk/htdocs/stc/lanzelot/css/layout.css
U   trunk/templates/Homepage/index_ru.tmpl
Modified: trunk/htdocs/stc/lanzelot/css/layout.css
===================================================================
--- trunk/htdocs/stc/lanzelot/css/layout.css	2012-03-23 12:16:16 UTC (rev 11621)
+++ trunk/htdocs/stc/lanzelot/css/layout.css	2012-03-23 14:06:47 UTC (rev 11622)
@@ -675,19 +675,19 @@
 /* QotD */
 .b-qotd  h2 {
     clear:left;
-    background:url("/img/corner.gif?v=1") no-repeat 0 0 #EDEDED;
+/*    background:url("/img/corner.gif?v=1") no-repeat 0 0 #EDEDED; */
     margin:0 0 8px;
     padding:5px 8px;
     font-family:Arial;
     font-size:14px;
     font-weight:bold;
     }
-    .b-qotd h2 span {
-        padding-left:20px;
-        background:url("/img/jabber.gif?v=1") no-repeat  0 50%;
+    .b-qotd .w-head H2 SPAN.w-head-in {
+        padding-left: 20px;
+        background: url("/img/jabber.gif?v=1") no-repeat  0 50%;
         }
 .homepage-loggedin .b-qotd  h2 {
-    background:url("/img/corner.gif?v=1") no-repeat 0 0 #C7E0F6;
+/*    background:url("/img/corner.gif?v=1") no-repeat 0 0 #C7E0F6;*/
     }    
 
 /* Shop & catalogue pages 

Modified: trunk/templates/Homepage/index_ru.tmpl
===================================================================
--- trunk/templates/Homepage/index_ru.tmpl	2012-03-23 12:16:16 UTC (rev 11621)
+++ trunk/templates/Homepage/index_ru.tmpl	2012-03-23 14:06:47 UTC (rev 11622)
@@ -5,7 +5,6 @@
     <!-- ### Logged-in Homepage ### -->
 
     <tmpl_var adt>
-
     <div class="homepage-loggedin pkg" style="padding-right: 320px;padding-left:0px;">
         <div style="float: left; position: relative; width: 100%;">
 
@@ -13,13 +12,16 @@
             <tmpl_var widget_sup1millionpromo>
 
             <div class="homepage-account appwidget pkg b-qotd">
-                <h2><span><tmpl_var expr="ml('.loggedin.qotd.title')"></span></h2>
-		<ul class="i-qotd-menu">
-        	    <li><a href="<tmpl_var siteroot>/misc/qotdarchive.bml"><tmpl_var expr="ml('widget.qotd.archivelink')"></a></li>
-        	    <li><a href="<tmpl_var siteroot>/misc/suggest_qotd.bml"><tmpl_var expr="ml('widget.qotd.suggestions')"></a></li>
-        	    <li><a href="<tmpl_var siteroot>/friends/add.bml?user=writersblock"><tmpl_var expr="ml('widget.qotd.subscribe')"></a></li>
-        	    <li><a href="http://community.livejournal.com/wb_unplugged_ru/"><tmpl_var expr="ml('widget.qotd.unplugged')"></a></li>
-		</ul>
+                <div class="w-head">
+					<h2><span class="w-head-in"><tmpl_var expr="ml('.loggedin.qotd.title')"></span></h2>
+					<i class="w-head-corner"></i>
+					<ul class="i-qotd-menu">
+		        	    <li><a href="<tmpl_var siteroot>/misc/qotdarchive.bml"><tmpl_var expr="ml('widget.qotd.archivelink')"></a></li>
+		        	    <li><a href="<tmpl_var siteroot>/misc/suggest_qotd.bml"><tmpl_var expr="ml('widget.qotd.suggestions')"></a></li>
+		        	    <li><a href="<tmpl_var siteroot>/friends/add.bml?user=writersblock"><tmpl_var expr="ml('widget.qotd.subscribe')"></a></li>
+		        	    <li><a href="http://community.livejournal.com/wb_unplugged_ru/"><tmpl_var expr="ml('widget.qotd.unplugged')"></a></li>
+					</ul>
+				</div>
                 <div class="homepage-account-right">
                     <tmpl_var widget_qotd>
                 </div><!-- end .homepage-account-right -->
@@ -31,10 +33,17 @@
 
             <tmpl_var personalstats>
 		
-            <div class="homepage-insidelj pkg">
-                <h2><span><tmpl_var expr="ml('.loggedout.facts', 'sitename', sitenameshort)"></span></h2>
-                <tmpl_var widget_promotext>
-            </div>
+			<TMPL_IF widget_promotext>
+	            <div class="w homepage-insidelj">
+	            	<div class="w-head">
+						<h2><span class="w-head-in"><tmpl_var expr="ml('.loggedout.facts', 'sitename', sitenameshort)"></span></h2>
+						<i class="w-head-corner"></i>
+					</div>
+					<div class="w-body">
+	                	<tmpl_var widget_promotext>
+					</div>
+	            </div>
+			</TMPL_IF>
 
         </div>
 
@@ -98,27 +107,35 @@
                 </div>
               	<div class="hr-solid"></div>
                     <tmpl_var widget_video_for_home_page>
-                    <div class="homepage-loggedin" style="font-size: .85em;">
-                        <div class="homepage-insidelj pkg">
-                            <h2><span style="font-weight: bold;"><tmpl_var expr="ml('.loggedout.facts', 'sitename', sitenameshort)"></span></h2>
-                        </div>
-                        <tmpl_var widget_promotext>
-                    </div>
 
+					<TMPL_IF widget_promotext>
+			            <div class="w homepage-insidelj">
+			            	<div class="w-head">
+								<h2><span class="w-head-in"><tmpl_var expr="ml('.loggedout.facts', 'sitename', sitenameshort)"></span></h2>
+								<i class="w-head-corner"></i>
+							</div>
+							<div class="w-body">
+			                	<tmpl_var widget_promotext>
+							</div>
+			            </div>
+					</TMPL_IF>
+					
                     <div class="homepage-account appwidget pkg b-qotd">
+						<div class="w-head">
+							<h2><span class="w-head-in"><tmpl_var expr="ml('.loggedin.qotd.title')"></span></h2>
+							<i class="w-head-corner"></i>
+						    <ul class="i-qotd-menu">
+				        	        <li><a href="<tmpl_var siteroot>/misc/qotdarchive.bml"><tmpl_var expr="ml('widget.qotd.archivelink')"></a></li>
+				        	        <li><a href="<tmpl_var siteroot>/misc/suggest_qotd.bml"><tmpl_var expr="ml('widget.qotd.suggestions')"></a></li>
+				        	        <li><a href="<tmpl_var siteroot>/friends/add.bml?user=writersblock"><tmpl_var expr="ml('widget.qotd.subscribe')"></a></li>
+				        	        <li><a href="http://community.livejournal.com/wb_unplugged_ru/"><tmpl_var expr="ml('widget.qotd.unplugged')"></a></li>
+						    </ul>
+						</div>
+						
 
-                    <h2><span><tmpl_var expr="ml('.loggedin.qotd.title')"></span></h2>
-		
-		    <ul class="i-qotd-menu">
-        	        <li><a href="<tmpl_var siteroot>/misc/qotdarchive.bml"><tmpl_var expr="ml('widget.qotd.archivelink')"></a></li>
-        	        <li><a href="<tmpl_var siteroot>/misc/suggest_qotd.bml"><tmpl_var expr="ml('widget.qotd.suggestions')"></a></li>
-        	        <li><a href="<tmpl_var siteroot>/friends/add.bml?user=writersblock"><tmpl_var expr="ml('widget.qotd.subscribe')"></a></li>
-        	        <li><a href="http://community.livejournal.com/wb_unplugged_ru/"><tmpl_var expr="ml('widget.qotd.unplugged')"></a></li>
-		    </ul>
+	                    <tmpl_var widget_qotd>
+	                </div>
 
-                    <tmpl_var widget_qotd>
-                </div>
-
                 <tmpl_var personalstats>
 
             </div> <!-- / content -->

Tags: css, ljcom, narefieva, nely_snork, tmpl
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