summaryrefslogtreecommitdiff
path: root/actions/showstream.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/showstream.php')
-rw-r--r--actions/showstream.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index d550ec295..3fe71576d 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -243,9 +243,10 @@ class ShowstreamAction extends Action
$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);
+ $hasFN = ($this->profile->fullname) ? 'nickname url uid' : 'fn nickname url uid';
+ $this->element('a', array('href' => $this->profile->profileurl,
+ 'rel' => 'me', 'class' => $hasFN),
+ $this->profile->nickname);
$this->elementEnd('dd');
$this->elementEnd('dl');