summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-11-15 01:00:13 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-11-15 01:00:13 -0500
commitaa2836cb3859e05e9524def5ec37706e3299205c (patch)
treeca1de8b399b578aeb5b86490451a136d9986ad1a /templates
parent12984bca989485430d3a1be9ea35d3f61239b28f (diff)
parentc3ebf7deae0bb04f1637e9a52e7f9f38d454fec7 (diff)
Merge tag 'release_2012-02-11'
Quick release Conflicts: requirements.txt requirements_prod.txt
Diffstat (limited to 'templates')
-rw-r--r--templates/packages/details.html5
-rw-r--r--templates/todolists/view.html14
2 files changed, 15 insertions, 4 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html
index 9372a231..fb379df4 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -156,6 +156,11 @@
<th>Last Updated:</th>
<td>{{ pkg.last_update|date }}</td>
</tr>
+ {% if user.is_authenticated %}{% with pkg.flag_request as flag_request %}{% if flag_request %}<tr>
+ <th>Last Flag Request:</th>
+ <td>From {{ flag_request.who }} on {{ flag_request.created|date }}:<br/>
+ <div class="userdata">{{ flag_request.message|linebreaksbr|default:"{no message}" }}</div></td>
+ </tr>{% endif %}{% endwith %}{% endif %}
</table>
<div id="metadata">
diff --git a/templates/todolists/view.html b/templates/todolists/view.html
index 612f2902..fb06ebdd 100644
--- a/templates/todolists/view.html
+++ b/templates/todolists/view.html
@@ -31,9 +31,10 @@
<table id="dev-todo-pkglist" class="results todo-table">
<thead>
<tr>
- <th>Name</th>
<th>Arch</th>
- <th>Repo</th>
+ <th>Repository</th>
+ <th>Name</th>
+ <th>Current Version</th>
<th>Maintainers</th>
<th>Status</th>
</tr>
@@ -41,9 +42,14 @@
<tbody>
{% for pkg in list.packages %}
<tr class="{% cycle 'odd' 'even' %}">
- <td>{% pkg_details_link pkg.pkg %}</td>
<td>{{ pkg.pkg.arch.name }}</td>
<td>{{ pkg.pkg.repo.name|capfirst }}</td>
+ <td>{% pkg_details_link pkg.pkg %}</td>
+ {% if pkg.pkg.flag_date %}
+ <td><span class="flagged">{{ pkg.pkg.full_version }}</span></td>
+ {% else %}
+ <td>{{ pkg.pkg.full_version }}</td>
+ {% endif %}
<td>{{ pkg.pkg.maintainers|join:', ' }}</td>
<td>
{% if perms.main.change_todolistpkg %}
@@ -71,7 +77,7 @@ $(document).ready(function() {
$('a.status-link').click(todolist_flag);
$(".results").tablesorter({
widgets: ['zebra'],
- sortList: [[0,0], [1,0]],
+ sortList: [[2,0], [0,0]],
headers: { 4: { sorter: 'todostatus' } }
});
});