diff --git a/indefero/src/IDF/Views/Admin.php b/indefero/src/IDF/Views/Admin.php index 38b4cb4..bccfbe6 100644 --- a/indefero/src/IDF/Views/Admin.php +++ b/indefero/src/IDF/Views/Admin.php @@ -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); } diff --git a/indefero/src/IDF/templates/idf/gadmin/users/update.html b/indefero/src/IDF/templates/idf/gadmin/users/update.html index d4a081d..6656cc3 100644 --- a/indefero/src/IDF/templates/idf/gadmin/users/update.html +++ b/indefero/src/IDF/templates/idf/gadmin/users/update.html @@ -128,6 +128,15 @@ address{/blocktrans}

able to create new projects and update other non staff users. {/blocktrans}

{/if} +
+ +
{/block}