We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 96dc058b authored by sarven's avatar sarven

Using nickname only for uid

parent 27308afe
......@@ -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');
......
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment