Fixing the following issues:

Issue 88
Issue 87
Issue 86

Along with some slight fixes
This commit is contained in:
Nathan Adams
2014-12-29 21:38:22 -06:00
parent 660df0f5d5
commit 3ccdcf666b
7 changed files with 79 additions and 3 deletions

View File

@@ -32,6 +32,9 @@
<th>
Approve
</th>
<th>
Reject
</th>
</tr>
{foreach $requests as $req}
<tr>
@@ -45,7 +48,8 @@
{$req.repotype}
</td>
<td>
{$req.get_submitter.login}
{aurl 'url', 'IDF_Views_User::view', array($req.get_submitter.login)}
<a href="{$url}">{$req.get_submitter.login}</a>
</td>
<td>
{$req.creation_dtime}
@@ -53,6 +57,10 @@
<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}
</table>

View File

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

View File

@@ -5,6 +5,8 @@ Your request for {$shortname|safe} was approved!
If you have any questions please feel free to email a member of the development team.
Happy hacking!
Yours faithfully,
The development team.