circuitgroupassignment.html 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {% extends 'generic/object.html' %}
  2. {% load static %}
  3. {% load helpers %}
  4. {% load plugins %}
  5. {% load render_table from django_tables2 %}
  6. {% load i18n %}
  7. {% block breadcrumbs %}
  8. {{ block.super }}
  9. <li class="breadcrumb-item">
  10. <a href="{% url 'circuits:circuitgroupassignment_list' %}?group_id={{ object.group_id }}">{{ object.group }}</a>
  11. </li>
  12. {% endblock %}
  13. {% block content %}
  14. <div class="row mb-3">
  15. <div class="col col-md-6">
  16. <div class="card">
  17. <h5 class="card-header">{% trans "Circuit Group Assignment" %}</h5>
  18. <table class="table table-hover attr-table">
  19. <tr>
  20. <th scope="row">{% trans "Group" %}</th>
  21. <td>{{ object.group }}</td>
  22. </tr>
  23. <tr>
  24. <th scope="row">{% trans "Circuit" %}</th>
  25. <td>{{ object.circuit }}</td>
  26. </tr>
  27. <tr>
  28. <th scope="row">{% trans "Priority" %}</th>
  29. <td>{{ object.priority }}</td>
  30. </tr>
  31. </table>
  32. </div>
  33. {% include 'inc/panels/tags.html' %}
  34. {% include 'inc/panels/custom_fields.html' %}
  35. {% plugin_left_page object %}
  36. </div>
  37. <div class="col col-md-6">
  38. {% plugin_right_page object %}
  39. </div>
  40. </div>
  41. <div class="row">
  42. <div class="col col-md-12">
  43. {% plugin_full_width_page object %}
  44. </div>
  45. </div>
  46. {% endblock %}