• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

allura


Commit MetaInfo

Révision3b1a74a7d05c96abf414690ea1b52a03cb8b21fc (tree)
l'heure2012-04-19 02:57:38
AuteurJenny Steele <jsteele@geek...>
CommiterJenny Steele

Message de Log

[#3949] UI cleanup for neighborhood stats

Change Summary

Modification

--- a/Allura/allura/templates/neighborhood_stats.html
+++ b/Allura/allura/templates/neighborhood_stats.html
@@ -1,7 +1,5 @@
11 {% extends g.theme.master %}
22
3-{% do g.register_forge_css('css/forge/deck.css') %}
4-
53 {% block top_nav %}
64 {% include 'allura:templates/jinja_master/neigh_top_nav.html' %}
75 {% endblock %}
@@ -11,37 +9,25 @@
119 {% block header %}Neighborhood Statistics{% endblock %}
1210
1311 {% block content %}
14- <div class="nested-grid-container">
15- <span class="grid-prefix-1 grid-9 installable_tool">
16- <b>Projects</b>
17- </span>
18- <span class="grid-9 installable_tool">
19- <b>Last updated</b>
20- </span>
21- <span class="grid-prefix-1 grid-9 installable_tool">
22- {% if h.asbool(config.get('allow_project_delete', True)) %}
23- Deleted: {{ delete_count }}
24- {% endif %}
25- </span>
26- <span class="grid-9 installable_tool">
27- Last 30 days: {{ last_updated_30 }}
28- </span>
29- <span class="grid-prefix-1 grid-9 installable_tool">
30- Public: {{ public_count }}
31- </span>
32- <span class="grid-9 installable_tool">
33- Last 60 days: {{ last_updated_60 }}
34- </span>
35- <span class="grid-prefix-1 grid-9 installable_tool">
36- Private: {{ private_count }}
37- </span>
38- <span class="grid-9 installable_tool">
39- Last 90 days: {{ last_updated_90 }}
40- </span>
41- <br style="clear:both"/>
42- <span class="grid-prefix-1 grid-9 installable_tool">
43- <a href="adminlist">Admins list</a>
44- </span>
12+ <div class="grid-9">
13+ <b>Number of projects that are...</b>
14+ <ul>
15+ <li>Public: {{ public_count }}</li>
16+ <li>Private: {{ private_count }}</li>
17+ {% if h.asbool(config.get('allow_project_delete', True)) %}
18+ <li>Deleted: {{ delete_count }}</li>
19+ {% endif %}
20+ </ul>
21+ </div>
22+ <div class="grid-10">
23+ <b>Number of projects updated in the last...</b>
24+ <ul>
25+ <li>30 days: {{ last_updated_30 }}</li>
26+ <li>60 days: {{ last_updated_60 }}</li>
27+ <li>90 days: {{ last_updated_90 }}</li>
28+ </ul>
29+ </div>
30+ <div class="grid-19">
31+ <a href="adminlist">View a list of project admins</a>
4532 </div>
46-
4733 {% endblock %}
--- a/Allura/allura/templates/neighborhood_stats_adminlist.html
+++ b/Allura/allura/templates/neighborhood_stats_adminlist.html
@@ -1,7 +1,5 @@
11 {% extends g.theme.master %}
22
3-{% do g.register_forge_css('css/forge/deck.css') %}
4-
53 {% block title %}{{c.project.name}} / Statistics / Admins list{% endblock %}
64
75 {% block header %}Admins list{% endblock %}
@@ -11,30 +9,26 @@
119 {% endblock %}
1210
1311 {% block content %}
14-<div class="nested-grid-container">
15- <div style="overflow:auto">
16- <table>
17- <thead>
18- <tr>
19- <th>Project</th>
20- <th>Username</th>
21- <th>E-mail</th>
22- <th>Name</th>
23- </tr>
24- </thead>
25- <tbody>
26- {% for entry in entries %}
27- <tr>
28- <td style="white-space: nowrap"><a href="{{entry.project.url()}}">{{ entry.project.name }}</a></td>
29- <td>{{ entry.user.username }}</td>
30- <td>{{ entry.user.preferences.email_address or 'Unknown' }}</td>
31- <td>{{ entry.user.display_name }}</td>
32- </tr>
33- {% endfor %}
34- </tbody>
35- </table>
36- </div>
37-</div>
12+<table>
13+ <thead>
14+ <tr>
15+ <th>Project</th>
16+ <th>Username</th>
17+ <th>E-mail</th>
18+ <th>Name</th>
19+ </tr>
20+ </thead>
21+ <tbody>
22+ {% for entry in entries %}
23+ <tr>
24+ <td style="white-space: nowrap"><a href="{{entry.project.url()}}">{{ entry.project.name }}</a></td>
25+ <td>{{ entry.user.username }}</td>
26+ <td>{{ entry.user.preferences.email_address or 'Unknown' }}</td>
27+ <td>{{ entry.user.display_name }}</td>
28+ </tr>
29+ {% endfor %}
30+ </tbody>
31+</table>
3832
3933 <div class="grid-15" style="clear:both">
4034 {{page_list.display(limit=limit, page=page, count=count)}}