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

Commit c8a58c92 authored by Evan Prodromou's avatar Evan Prodromou

show lists as a comma-separated list in sidebar

parent 90e6eab6
......@@ -304,6 +304,8 @@ class ProfileAction extends OwnerDesignAction
$cur = common_current_user();
$first = true;
while ($lists->fetch()) {
if (!$lists->private ||
($lists->private && !empty($cur) && $cur->id == $profile->id)) {
......@@ -314,10 +316,14 @@ class ProfileAction extends OwnerDesignAction
array('tagger' => $this->profile->nickname,
'tag' => $lists->tag));
}
$this->elementStart('li');
if (!$first) {
$this->text(', ');
} else {
$first = false;
}
$this->element('a', array('href' => $url),
$lists->tag);
$this->elementEnd('li');
}
}
......
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