Institution page: wip to fix
[unfold.git] / portal / templates / fibre / fibre_institution.html
index 09b9071..c8a668f 100644 (file)
 </div>
 <div class="container tab-content">
        <div class="tab-pane active row" id="about">
-        <div class="col-md-6">
-               <div>
-                       <img src="{{ STATIC_URL|add:'img/institutions/'|add:authority.authority_hrn|add:'.gif'|file_exists }}" alt="{{authority.name}}">
-               </div>
-               <br />
-               <h3><a href="{{authority.url}}">{{authority.name}}</a></h3>
-               <p>
-                       {{authority.address}} <br />
-                       {{authority.postcode}} {{authority.city}} <br />
-                       {{authority.country}}
-               </p>
-               <br />
-               <h4>Onelab membership</h4> 
-               <p>
-                       {{ authority.onelab_membership }}
-               </p>
-        </div>
-        <div class="col-md-6">
-               <h4>Legal Contact:</h4>
-               <p>
-               {% for c in authority_contacts.legal %}
-                        {{ c }} <br />
-               {% endfor %}
-               </p>
-               <br />
-               <h4>Scientific Contact:</h4>
-               <p>
-               {% for c in authority_contacts.scientific %}
-                       {{ c }} <br />
-               {% endfor %}
-               </p>
-               <br />
-               <h4>Technical Contact:</h4>
-               <p>
-               {% for c in authority_contacts.technical %}
-                       {{ c }} <br />
-               {% endfor %}
-               </p>
-        </div>
-        <script>
-        $(document).ready(function() {
-            $('#authority_name').text("{{ authority.name|default:authority.authority_hrn }}");
-        });
-        </script>
        </div>
        
        <div class="tab-pane row" id="users" data-authority="{{user_details.parent_authority}}">
@@ -205,7 +161,7 @@ $(document).ready(function() {
     {% endif %}
 
 }); // End document.ready
-/*
+
 $(document).ready(function() {
        $('.nav-tabs a').click(function (e) {
                e.preventDefault();
@@ -221,6 +177,5 @@ $(document).ready(function() {
                $('.nav-tabs a[href=#about]').click();
        }
 });
-*/
 </script>
 {% endblock %}