From: Loic Baron Date: Mon, 18 Aug 2014 19:29:54 +0000 (+0200) Subject: Merge branch 'onelab' of ssh://git.onelab.eu/git/myslice into onelab X-Git-Tag: myslice-1.0~4^2^2~1 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=cf4cdbfa738f4687eae3cab36fdaf4914da1d160;hp=bff32abff469690c249af3b4f1cbb6905bd70e0d;p=unfold.git Merge branch 'onelab' of ssh://git.onelab.eu/git/myslice into onelab --- diff --git a/portal/templates/onelab/onelab_registration_view.html b/portal/templates/onelab/onelab_registration_view.html index 3436fa13..18314d3d 100644 --- a/portal/templates/onelab/onelab_registration_view.html +++ b/portal/templates/onelab/onelab_registration_view.html @@ -489,6 +489,9 @@ $(document).ready(function(){ {% for authority in authorities %} {% if authority.name %} {value:"{{ authority.name }}",label:"{{authority.name}}"}, + // show hrn if we don't have the name + {% else %} + {value:"{{ authority.authority_hrn }}",label:"{{authority.authority_hrn}}"}, {% endif %} {% endfor %} {% else %} diff --git a/portal/templates/registration_view.html b/portal/templates/registration_view.html index 9cbcacf9..ef29d3dd 100644 --- a/portal/templates/registration_view.html +++ b/portal/templates/registration_view.html @@ -481,9 +481,9 @@ jQuery(document).ready(function(){ {% for authority in authorities %} {% if authority.name %} {value:"{{ authority.name }}",label:"{{authority.name}}"}, - // to show only full name - // {% else %} - // {value:"{{ authority.authority_hrn }}",label:"{{authority.authority_hrn}}"}, + // show hrn if we don't have the name + {% else %} + {value:"{{ authority.authority_hrn }}",label:"{{authority.authority_hrn}}"}, {% endif %} {% endfor %} {% else %}