]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
move fave form, float right
authorEvan Prodromou <evan@prodromou.name>
Mon, 8 Sep 2008 20:27:17 +0000 (16:27 -0400)
committerEvan Prodromou <evan@prodromou.name>
Mon, 8 Sep 2008 20:27:17 +0000 (16:27 -0400)
darcs-hash:20080908202717-84dde-4f89d50c07dfd16ff71f80c4115159eb8b01e9ce.gz

lib/stream.php
theme/stoica/display.css

index 62d1cd67c6f40b27839069f404629017ad432ca3..f41c125ca0d96a5e71dff502e28e61c6d8148cd5 100644 (file)
@@ -76,6 +76,13 @@ class StreamAction extends Action {
                # XXX: RDFa
                common_element_start('li', array('class' => 'notice_single',
                                                                                  'id' => 'notice-' . $notice->id));
+               if ($user) {
+                       if ($user->hasFave($notice)) {
+                               common_disfavor_form($notice);
+                       } else {
+                               common_favor_form($notice);
+                       }
+               }
                $avatar = $profile->getAvatar(AVATAR_STREAM_SIZE);
                common_element_start('a', array('href' => $profile->profileurl));
                common_element('img', array('src' => ($avatar) ? common_avatar_display_url($avatar) : common_default_avatar(AVATAR_STREAM_SIZE),
@@ -138,13 +145,6 @@ class StreamAction extends Action {
                        common_raw('&times;');
                        common_element_end('a');
                }
-               if ($user) {
-                       if ($user->hasFave($notice)) {
-                               common_disfavor_form($notice);
-                       } else {
-                               common_favor_form($notice);
-                       }
-               }
                common_element_end('p');
                common_element_end('li');
        }
index a0f37fc4d8b486acf9a75eb11c9d1ea315258358..a6de393bf36987f20bcd65247f5821d6080713d0 100644 (file)
@@ -649,6 +649,7 @@ input#openid_url {
 
 form#disfavor, form.disfavor  {
        display: inline;
+       float: right;
 }
 
 input#disfavor, input.disfavor  {
@@ -662,6 +663,7 @@ input#disfavor, input.disfavor  {
 
 form#favor, form.favor  {
        display: inline;
+       float: right;
 }
 
 input#favor, input.favor  {