srchub

srchub Commit Details


Date:2015-10-27 19:14:07 (9 years 1 month ago)
Author:Natalie Adams
Branch:master
Commit:7532cb9b16da959c2daf3939175e8786011b1844
Parents: ccafac393d6f8fbb2133ba9a0ea904d2bf7f2dc6
Message:Issue 110: Add list of projects user is owner of to forge admin

Changes:

File differences

indefero/src/IDF/Views/Admin.php
450450
451451
452452
453
453454
454455
455456
456457
457458
459
458460
459461
460462
} 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);
}
indefero/src/IDF/templates/idf/gadmin/users/update.html
128128
129129
130130
131
132
133
134
135
136
137
138
139
131140
132141
133142
able to create new projects and update other non staff users.
{/blocktrans}</p> {/if}
</div>
<div>
<ul>
{if $ownedProjects}
{foreach $ownedProjects as $p}
<li> <a href="{url 'IDF_Views_Project::home', array($p.name)}">{$p.name} - {$p.shortdesc}</a> </li>
{/foreach}
{/if}
</ul>
</div>
{/block}

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.05722s using 20 queries.