Merge branch 'onelab' of ssh://git.onelab.eu/git/myslice into fibre
[myslice.git] / portal / templates / fibre / fibre_institution.html
index 09b9071..c7d5c01 100644 (file)
@@ -18,8 +18,8 @@
        <div class="row">
                <div class="col-md-12">
                        <ul class="nav nav-tabs nav-section">
-                               <li class="active"><a href="#about">About</a></li>
-                               <li><a href="#users">Users</a></li>
+                               <!-- <li class="active"><a href="#about">About</a></li>-->
+                               <li class="active"><a href="#users">Users</a></li>
                                <li><a href="#slices">Slices</a></li>
                                <li><a href="#requests">Requests</a></li>
                        </ul>
        </div>
 </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}}">
                <div class="col-md-12 el">
                        <div id="user-tab-loading"><img src="{{ STATIC_URL }}img/loading.gif" alt="Loading Slices" /></div>
@@ -205,7 +162,7 @@ $(document).ready(function() {
     {% endif %}
 
 }); // End document.ready
-/*
+
 $(document).ready(function() {
        $('.nav-tabs a').click(function (e) {
                e.preventDefault();
@@ -221,6 +178,5 @@ $(document).ready(function() {
                $('.nav-tabs a[href=#about]').click();
        }
 });
-*/
 </script>
 {% endblock %}