]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Using nickname only for uid
authorsarven <csarven@plantard.controlezvous.ca>
Tue, 20 Jan 2009 05:58:35 +0000 (05:58 +0000)
committersarven <csarven@plantard.controlezvous.ca>
Tue, 20 Jan 2009 05:58:35 +0000 (05:58 +0000)
actions/showstream.php
theme/base/css/display.css

index b877f5df359e4308e690ea618d99a3be52c6ce2c..1d79ea30d28bbee6fbfcec06092b943b0e346be1 100644 (file)
@@ -239,6 +239,15 @@ class ShowstreamAction extends Action
         $this->elementEnd('dd');
         $this->elementEnd('dl');
 
+        $this->elementStart('dl', 'user_nickname');
+        $this->element('dt', null, _('Nickname'));
+        $this->elementStart('dd');
+            $this->element('a', array('href' => $this->profile->profileurl,
+                                      'rel' => 'me', 'class' => 'nickname url uid'),
+                           $this->profile->nickname);
+        $this->elementEnd('dd');
+        $this->elementEnd('dl');
+
         if ($this->profile->fullname) {
             $this->elementStart('dl', 'user_fn');
             $this->element('dt', null, _('Full name'));
@@ -247,14 +256,6 @@ class ShowstreamAction extends Action
             $this->elementEnd('dd');
             $this->elementEnd('dl');
         }
-        $this->elementStart('dl', 'user_nickname');
-        $this->element('dt', null, _('Nickname'));
-        $this->elementStart('dd');
-            $this->element('a', array('href' => $this->profile->profileurl,
-                                      'rel' => 'me', 'class' => 'fn nickname url uid'),
-                           $this->profile->nickname);
-        $this->elementEnd('dd');
-        $this->elementEnd('dl');
 
         if ($this->profile->location) {
             $this->elementStart('dl', 'user_location');
index 59429cf726464e88874356d1f82aeb0ec005786a..406ba3f9ac931547cbf4ee6421a2384facfec0c5 100644 (file)
@@ -489,7 +489,7 @@ margin-bottom:0;
 /* user_profile */
 #user_profile {
 position:relative;
-width:633px;
+width:475px;
 min-height:123px;
 float:left;
 margin-bottom:17px;
@@ -514,7 +514,7 @@ width:96px;
 #user_profile .user_tags {
 float:left;
 clear:left;
-margin-left:125px;
+margin-left:113px;
 width:322px;
 margin-bottom:4px;
 }
@@ -524,21 +524,24 @@ margin-bottom:4px;
 width:auto;
 clear:none;
 }
-#user_profile .user_nickname {
+#user_profile .user_fn {
 margin-left:11px;
+margin-left:4px;
+margin-right:4px;
+font-weight:bold;
 }
 #user_profile .user_nickname .nickname {
 font-style:italic;
 font-weight:bold;
-margin-left:4px;
-margin-right:4px;
 }
 
-#user_profile .user_nickname dd:before {
+#user_profile .user_fn dd:before {
 content: "(";
+font-weight:normal;
 }
-#user_profile .user_nickname dd:after {
+#user_profile .user_fn dd:after {
 content: ")";
+font-weight:normal;
 }
 
 #user_profile dt {