management requests table reorganization
[myslice.git] / portal / templates / management-tab-requests.html
index 2445aab..ea2c21a 100644 (file)
        <h2>From your authorities</h2>
 </div>
 {% if my_authorities %}
-       
+       <table class="table">
        {% for authority, requests in my_authorities.items %}
        
-       <div class="col-md-12">
-               <h2>{{authority|default:"Authorities"}}</h2>
-       </div>
-       <div class="col-md-12">
-        <table class="table">
-          
         {% for request in requests %}
     
          <tr>
                 {% if request.allowed == 'expired' %}expired{% else %}denied{% endif %}
             {% endif %}
             </td>
-            <td><u>{{ request.type }}</u></td>
-           <td><i>{{authority|default:request.site_name}}</i></td>
+            <td><span class="type">{{ request.type }}</span></td>
+           <td><i>{{authority}}{{request.site_authority}}</i></td>
                <td>
             {% if request.type == 'user' %}
                 <b>{{request.first_name}} {{request.last_name}}</b> &lt;<a href="mailto:{{request.email}}">{{request.email}}</a>&gt;
          </tr>
     
         {% endfor %}
-       </table>
-       </div>
+       
        {% endfor %}
-
+    </table>
 {% else %}
        <div class="col-md-12">
                <i>There is no pending request waiting for validation.</i>