aboutsummaryrefslogtreecommitdiff
path: root/rpki
diff options
context:
space:
mode:
authorMichael Elkins <melkins@tislabs.com>2014-12-11 23:20:51 +0000
committerMichael Elkins <melkins@tislabs.com>2014-12-11 23:20:51 +0000
commit8e1c7a126073ed7a1f0b36d20a98ecc47d30cdee (patch)
tree37fe01d86302f0a1322ead7d071eb31eb3d80ca9 /rpki
parent96831d5eca72f035d13611297e8695a42409b020 (diff)
add inner loop to iterate over all rpki.gui.cacheview.ROA objects associated with a rpki.gui.cacheview.ROAPrefixV4. closes #744
svn path=/trunk/; revision=6041
Diffstat (limited to 'rpki')
-rw-r--r--rpki/gui/app/templates/app/route_detail.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/rpki/gui/app/templates/app/route_detail.html b/rpki/gui/app/templates/app/route_detail.html
index 84add4a8..8bd744df 100644
--- a/rpki/gui/app/templates/app/route_detail.html
+++ b/rpki/gui/app/templates/app/route_detail.html
@@ -42,13 +42,15 @@
</thead>
<tbody>
{% for pfx in roa_prefixes %}
+ {% for roa in pfx.roas.all %}
<tr>
<td>{{ pfx.as_resource_range }}</td>
<td>{{ pfx.max_length }}</td>
- <td>{{ pfx.roas.all.0.asid }}</td>
- <td>{{ pfx.roas.all.0.not_after }}</td>
- <td>{{ pfx.roas.all.0.repo.uri }}</td>
+ <td>{{ roa.asid }}</td>
+ <td>{{ roa.not_after }}</td>
+ <td>{{ roa.repo.uri }}</td>
</tr>
+ {% endfor %}
{% endfor %}
</tbody>
</table>