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

[livejournal] r20000: LJSUP-9742: Edit Entries, bubble with me...

Committer: mchervonniy
LJSUP-9742: Edit Entries, bubble with message "there is no entries"
U   trunk/htdocs/editjournal.bml
U   trunk/htdocs/stc/entry.css
Modified: trunk/htdocs/editjournal.bml
===================================================================
--- trunk/htdocs/editjournal.bml	2011-09-08 08:46:13 UTC (rev 19999)
+++ trunk/htdocs/editjournal.bml	2011-09-08 09:09:23 UTC (rev 20000)
@@ -91,11 +91,13 @@
         } else {
             $ret .= "<span class='i-qotd-nav-next i-qotd-nav-next-dis'>next</span>";
         }
-        $ret .= "</p>";
-        $ret .= "</div>"
-
+        $ret .= "</p>"
             if @res;
         }
+        unless (@res) {
+            $ret .= "<p class='b-editentries-info'>" .  BML::ml('.no_entries_to_edit') . "</p>";
+        }
+        $ret .= "</div>";
 
         $ret .= "<ul class='b-editentries'>";
         foreach my $e_raw (@res) {
@@ -156,9 +158,6 @@
             $ret .= "</li>";
 
         }
-        unless (@res) {
-            $ret .= "<p class='b-editentries-info'>" .  BML::ml('.no_entries_to_edit') . "</p>";
-        }
         if ($show_ad) {
             my $ad = LJ::get_ads({ location => 'bml.editjournal', ljadwrapper => 1 });
             $ret .= "<td valign='top'>$ad</td>" if $ad;

Modified: trunk/htdocs/stc/entry.css
===================================================================
--- trunk/htdocs/stc/entry.css	2011-09-08 08:46:13 UTC (rev 19999)
+++ trunk/htdocs/stc/entry.css	2011-09-08 09:09:23 UTC (rev 20000)
@@ -762,6 +762,7 @@
 			background: url("/img/btn_del.gif") no-repeat 0 0;
 			}
 .b-editentries-header {
+	position: relative;
 	overflow: hidden;
 	}
 
@@ -801,11 +802,13 @@
 	}
 
 .b-editentries-info {
+	position: absolute;
+	right: 0;
+	top: 18px;
 	max-width: 50%;
 	border: 1px solid #CCC;
 	padding: 10px;
 	border-radius: 5px;
-	float: right;
 	}
 .b-editentries-form INPUT[type="checkbox"],
 .b-editentries-form INPUT[type="radio"] {

Tags: bml, css, fiskus_boulder, livejournal
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