Adding projectrequest files

This commit is contained in:
Nathan Adams
2013-07-30 19:50:05 -05:00
parent f62d20f0d1
commit 2f981e42e5
5 changed files with 287 additions and 0 deletions

View File

@@ -0,0 +1,60 @@
{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}
<table>
<tr>
<th>
Short Name
</th>
<th>
Description
</th>
<th>
Repotype
</th>
<th>
Submitter
</th>
<th>
Date
</th>
<th>
Approve
</th>
</tr>
{foreach $requests as $req}
<tr>
<td>
{$req.shortname}
</td>
<td>
{$req.desc}
</td>
<td>
{$req.repotype}
</td>
<td>
{$req.get_submitter.login}
</td>
<td>
{$req.creation_dtime}
</td>
<td>
<a href="{url 'IDF_Views_Admin::projectRequestCreate'}{$req.id}/">Approve</a>
</td>
</tr>
{/foreach}
</table>
{/block}

View File

@@ -0,0 +1,10 @@
Hello {$user},
You are receiving this email because you have requested a repository.
Your request for {$shortname|safe} was approved!
If you have any questions please feel free to email a member of the development team.
Yours faithfully,
The development team.