Browse Source

Merge branch 'template_switch' into 'master'

Nettoyage de l'affichage des switches.

See merge request rezo/re2o!25
rewrite_authors
Maël Kervella 8 years ago
parent
commit
0a4fb04f5d
  1. 13
      topologie/templates/topologie/aff_switch.html

13
topologie/templates/topologie/aff_switch.html

@ -48,13 +48,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<td>{{switch.stack.name}}</td> <td>{{switch.stack.name}}</td>
<td>{{switch.stack_member_id}}</td> <td>{{switch.stack_member_id}}</td>
<td>{{switch.details}}</td> <td>{{switch.details}}</td>
<td class="text-right"> <td>
<a class="btn btn-info btn-sm" role="button" title="Historique" href="{% url 'topologie:history' 'switch' switch.pk %}"> {% include 'buttons/history.html' with href='topologie:history' name='switch' id=switch.pk%}
<i class="glyphicon glyphicon-time"></i> {% if is_infra %}
</a> {% include 'buttons/edit.html' with href='topologie:edit-switch' id=switch.pk %}
{% include 'buttons/edit.html' with href='topologie:edit-switch' id=switch.pk %} {% include 'buttons/suppr.html' with href='machines:del-interface' id=switch.switch_interface.id %}
{% include 'buttons/suppr.html' with href='machines:del-interface' id=switch.switch_interface.id %} {% endif %}
</td> </td>
</tr> </tr>
{% endfor %} {% endfor %}

Loading…
Cancel
Save