Adding projectrequest files
This commit is contained in:
60
indefero/src/IDF/templates/idf/admin/approveprojects.html
Normal file
60
indefero/src/IDF/templates/idf/admin/approveprojects.html
Normal 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}
|
10
indefero/src/IDF/templates/idf/admin/request-email.txt
Normal file
10
indefero/src/IDF/templates/idf/admin/request-email.txt
Normal 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.
|
||||
|
Reference in New Issue
Block a user