X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fregistration_view.html;h=1f27d4188ea8c0de9ef1f3386d6dab1692ee9d7b;hb=cd4ef6cdd7ea6d4ead183970d20d4c3739481251;hp=7ed1bd1135cb0763701d14d33a8c0bcce913b368;hpb=8585ac6a787638d9f04c7135c3ba1fe787d3db8d;p=myslice.git diff --git a/portal/templates/registration_view.html b/portal/templates/registration_view.html index 7ed1bd11..1f27d418 100644 --- a/portal/templates/registration_view.html +++ b/portal/templates/registration_view.html @@ -108,7 +108,11 @@ jQuery(document).ready(function(){ var availableTags = [ {% if authorities %} {% for authority in authorities %} - {value:"{{ authority.authority_hrn }}",label:"{{authority.name}}"}, + {% if authority.name %} + {value:"{{ authority.authority_hrn }}",label:"{{authority.name}}"}, + {% else %} + {value:"{{ authority.authority_hrn }}",label:"{{authority.authority_hrn}}"}, + {% endif %} {% endfor %} {% else %} {value:"",label:"No authority found !!!"}