Parent: [328198] (diff)

Child: [ddf08c] (diff)

Download this file

site_admin_new_projects.html    45 lines (42 with data), 1.5 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{% set page="new_projects" %}
{% extends 'allura:templates/site_admin.html' %}
{% block content %}
{{ c.page_size.display(limit=limit, count=count, page=pagenum) }}
<table>
<thead>
<tr>
<th class="narrow"></th>
<th class="narrow">Created</th>
<th>Shortname</th>
<th>Name</th>
<th>Short description</th>
<th>Summary</th>
<th>Deleted?</th>
<th>Homepage</th>
<th>Admins</th>
</tr>
</thead>
{% for p in projects %}
<tr>
<td class="narrow">
<input type="checkbox" class="js-select-project" data-shortname="{{ p.shortname }}" />
</td>
<td class="narrow">
<small>{{ p._id.generation_time.strftime('%Y-%m-%d %H:%M:%S') }}</small>
</td>
<td><small>{{ p.shortname }}</small></td>
<td><small><a href="{{ p.url() }}">{{ p.name }}</a></small></td>
<td><small>{{ p.short_description }}</small></td>
<td><small>{{ p.summary }}</small></td>
<td><small>{{ 'Yes' if p.deleted else 'No' }}</small></td>
<td><small>{{ p.external_homepage|urlize(22) }}</small></td>
<td><small>{{ p.admins()|join(' ') }}</small></td>
</tr>
{% endfor %}
</table>
{{ c.page_list.display(limit=limit, count=count, page=pagenum) }}
<div id="selected-projects"></div>
{% endblock %}
{% block extra_js %}
<script type="text/javascript" src="{{g.forge_static('js/site_admin_new_projects.js')}}"></script>
{% endblock %}