Removed the project list on the public profile page.
This commit is contained in:
parent
9653f1a341
commit
e2bce19526
@ -192,7 +192,6 @@ class IDF_Views_User
|
||||
*/
|
||||
public function view($request, $match)
|
||||
{
|
||||
$projects = IDF_Views::getProjects($request->user);
|
||||
$sql = new Pluf_SQL('login=%s', array($match[1]));
|
||||
$users = Pluf::factory('Pluf_User')->getList(array('filter'=>$sql->gen()));
|
||||
if (count($users) != 1 or !$users[0]->active) {
|
||||
@ -201,7 +200,6 @@ class IDF_Views_User
|
||||
return Pluf_Shortcuts_RenderToResponse('idf/user/public.html',
|
||||
array('page_title' => (string) $users[0],
|
||||
'member' => $users[0],
|
||||
'projects' => $projects,
|
||||
),
|
||||
$request);
|
||||
}
|
||||
|
@ -19,10 +19,6 @@
|
||||
<div class="issue-submit-info">
|
||||
<p>{blocktrans}You are looking at the public profile of {$member}.{/blocktrans}</p>
|
||||
</div>
|
||||
<h2>{trans 'Projects'}</h2>
|
||||
<ul>{foreach $projects as $p}
|
||||
<li><a href="{url 'IDF_Views_Project::home', array($p.shortname)}">{$p}</a></li>
|
||||
{/foreach}</ul>
|
||||
{/block}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user