git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Validation for Sub-Authorities: if I'm a PI on PLE, then I can validate any Request...
[myslice.git]
/
portal
/
templates
/
registration_view.html
diff --git
a/portal/templates/registration_view.html
b/portal/templates/registration_view.html
index
7ed1bd1
..
1f27d41
100644
(file)
--- 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 %}
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 !!!"}
{% endfor %}
{% else %}
{value:"",label:"No authority found !!!"}