ui: Fix autosign subnets listing

This commit is contained in:
Lauri Võsandi 2016-03-29 15:47:00 +03:00
parent 09a67718ab
commit 476a312b4e
2 changed files with 2 additions and 2 deletions

View File

@ -556,7 +556,7 @@ output += "\n anywhere\n </p>\n";
else {
output += "\n </p>\n <ul>\n ";
frame = frame.push();
var t_11 = runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "session")),"autosign_subnets");
var t_11 = runtime.memberLookup((runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "session")),"authority")),"autosign_subnets");
if(t_11) {var t_10 = t_11.length;
for(var t_9=0; t_9 < t_11.length; t_9++) {
var t_12 = t_11[t_9];

View File

@ -72,7 +72,7 @@ as such require complete reset of X509 infrastructure if some of them needs to b
{% else %}
</p>
<ul>
{% for subnet in session.autosign_subnets %}
{% for subnet in session.authority.autosign_subnets %}
<li>{{ subnet }}</li>
{% endfor %}
</ul>