687b7de33b00d0dadf9d59671fc83e675f909ecd
[myslice.git] / portal / templates / onelab / onelab_management-tab-about.html
1 {% load portal_filters %}
2 <div class="col-md-6">
3         <div>
4                 <img src="{{ STATIC_URL|add:'img/institutions/'|add:authority.authority_hrn|add:'.gif'|file_exists }}" alt="{{authority.name}}">
5         </div>
6         <br />
7         <h3><a href="{{authority.url}}">{{authority.name}}</a></h3>
8         <p>
9                 {{authority.address}} <br />
10                 {{authority.postcode}} {{authority.city}} <br />
11                 {{authority.country}}
12         </p>
13         <br />
14         <h4>Onelab membership</h4> 
15         <p>
16                 {{ authority.onelab_membership }}
17         </p>
18 </div>
19 <div class="col-md-6">
20         <h4>Legal Contact:</h4>
21         <p>
22         {% for c in authority_contacts.legal %}
23                  {{ c }} <br />
24         {% endfor %}
25         </p>
26         <br />
27         <h4>Scientific Contact:</h4>
28         <p>
29         {% for c in authority_contacts.scientific %}
30                 {{ c }} <br />
31         {% endfor %}
32         </p>
33         <br />
34         <h4>Technical Contact:</h4>
35         <p>
36         {% for c in authority_contacts.technical %}
37                 {{ c }} <br />
38         {% endfor %}
39         </p>
40 </div>
41 <script>$(document).ready(function() {
42 {% if authority.name %}
43     auth_name = "{{authority.name}}";
44 {% else %}
45     auth_name = "{{authority.authority_hrn}}";
46 {% endif %}
47     $('#authority_name').text(auth_name);
48 });
49 </script>