{extends "idf/gadmin/base.html"}
{block request} class="active"{/block}
{block body}
{if $createdtext}
{$createdtext}
<br/>
<br/>
{/if}
{if $errors}
{foreach $errors as $error}
{$error}
{/foreach}
{/if}
<div class="content">
<table class="recent-issues">
<thead>
<tr>
<th>
Short Name
</th>
<th>
Description
</th>
<th>
Repotype
</th>
<th>
Submitter
</th>
<th>
Date
</th>
<th>
Approve
</th>
<th>
Reject
</th>
</tr>
</thead>
<tbody>
{foreach $requests as $req}
<tr>
<td>
{$req.shortname}
</td>
<td>
{$req.desc}
</td>
<td>
{$req.repotype}
</td>
<td>
{aurl 'url', 'IDF_Views_User::view', array($req.get_submitter.login)}
<a href="{$url}">{$req.get_submitter.login}</a>
</td>
<td>
{$req.creation_dtime}
</td>
<td>
<a href="{url 'IDF_Views_Admin::projectRequestCreate'}{$req.id}/">Approve</a>
</td>
<td>
{aurl 'url', 'IDF_Views_Admin::projectRequestReject', array($req.id)}
<a href="{$url}">Reject</a>
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
{/block}