git://git.onelab.eu
/
unfold.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow to display authority_hrn if we don't have the name
[unfold.git]
/
portal
/
templates
/
onelab
/
onelab_registration_view.html
diff --git
a/portal/templates/onelab/onelab_registration_view.html
b/portal/templates/onelab/onelab_registration_view.html
index
3436fa1
..
18314d3
100644
(file)
--- 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}}"},
{% 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 %}
{% endif %}
{% endfor %}
{% else %}