Issue 110: Add list of projects user is owner of to forge admin

This commit is contained in:
Nathan Adams
2015-10-27 19:14:07 -05:00
parent ccafac393d
commit 7532cb9b16
2 changed files with 11 additions and 0 deletions

View File

@@ -450,11 +450,13 @@ class IDF_Views_Admin
} else {
$form = new IDF_Form_Admin_UserUpdate(null, $params);
}
$ownedProjects = \IDF_Views::getOwnedProjects($user);
return Pluf_Shortcuts_RenderToResponse('idf/gadmin/users/update.html',
array(
'page_title' => $title,
'cuser' => $user,
'form' => $form,
'ownedProjects' => $ownedProjects
),
$request);
}