summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-12-22 21:32:45 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-12-22 21:32:45 -0500
commit3b40bcb3fbd21a50faa5cc7a21714c6dab158cb5 (patch)
tree074263e8cfe5ed05e98873dff26c3e4294d75511 /templates
parentd3c35bc608b6eaf299e66146e1aab76d43b69211 (diff)
parentecece25814042d262bb7a102b9cbe48fc9c87db4 (diff)
Merge commit 'ecece25' into archweb-generic
Diffstat (limited to 'templates')
-rw-r--r--templates/mirrors/status.html2
-rw-r--r--templates/public/keys.html8
2 files changed, 5 insertions, 5 deletions
diff --git a/templates/mirrors/status.html b/templates/mirrors/status.html
index 5a275e33..4d75cd8e 100644
--- a/templates/mirrors/status.html
+++ b/templates/mirrors/status.html
@@ -59,7 +59,7 @@
<a name="outofsync" id="outofsync"></a>
<h3>Out of Sync Mirrors</h3>
- {% with urls=bad_urls table_id='outofsync_mirrors' %}
+ {% with urls=bad_urls table_id='outofsync_mirrors' %}
{% include "mirrors/status_table.html" %}
{% endwith %}
diff --git a/templates/public/keys.html b/templates/public/keys.html
index ab89423e..0818719c 100644
--- a/templates/public/keys.html
+++ b/templates/public/keys.html
@@ -86,16 +86,16 @@
</tr>
</thead>
<tbody>
- {% for user in active_users %}
+ {% for user in active_users %}{% with user_key=user.userprofile.pgp_key %}
<tr>
<th>{{ user.get_full_name }}</th>
- <td>{% pgp_key_link user.userprofile.pgp_key %}</td>
+ <td>{% pgp_key_link user_key %}</td>
{% spaceless %}{% for key in keys %}
- {% signature_exists signatures key.pgp_key user.userprofile.pgp_key as signed %}
+ {% signature_exists signatures key.pgp_key user_key as signed %}
<td class="signed-{{ signed|yesno }}">{{ signed|yesno|capfirst }}</td>
{% endfor %}{% endspaceless %}
</tr>
- {% endfor %}
+ {% endwith %}{% endfor %}
</tbody>
</table>
</div>