12345678910111213141516171819202122232425262728293031323334 |
- <table class="table table-hover">
- <thead class="thead-dark">
- <tr>
- <th scope="col">Site</th>
- <th scope="col">Service</th>
- <th scope="col">Fonction</th>
- <th scope="col">Nom</th>
- <th scope="col">Prénom</th>
- <th scope="col">Applications</th>
- <th scope="col">Outils</th>
- </tr>
- </thead>
- <tbody>
- {% for item in data_query %}
- {% if item.GES_OK == True %}
- <tr class="table-success">
- {% else %}
- <tr>
- {% endif %}
- <td>{{item.get_GES_L_Site_display}}</td>
- <td>{{item.GES_Service}}</td>
- <td>{{item.GES_Fonction}}</td>
- <td>{{item.GES_Nom}}</td>
- <td>{{item.GES_Prenom}}</td>
- <td>{% if item.GES_APPs != "" %}{% for apps in item.GES_APPs.all %}{{ apps.GESAP_Nom }}{% if not forloop.last %}, {% endif %}{% endfor %}{% else %} {% endif %}</td>
- <td onmouseover="this.style.cursor='pointer';">
- <a class="text-reset" target="_blank" href="{% url 'gest_user_api_user_get_for_send' item.id %}"><i class="fa fa-print"></i></a>
- <i class="fas fa-search-plus" onclick="bt_get_info({{item.id}})"></i>
- <i class="fas fa-user-edit" onclick="bt_edit_info({{item.id}})" ></i>
- </td>
- </tr>
- {% endfor %}
- </tbody>
- </table>
|