Projet

Général

Profil

0001-Revert-templates-always-wrap-tables-in-div.table-con.patch

Benjamin Dauvergne, 11 avril 2020 11:26

Télécharger (1,51 ko)

Voir les différences:

Subject: [PATCH] Revert "templates: always wrap tables in div.table-container
 (fixes #22795)"

This reverts commit 49cc5185b27914b7ade7f4e5cfe1627b90e1496e.
 fargo/templates/fargo/home.html | 6 ------
 fargo/templates/fargo/pick.html | 6 ------
 2 files changed, 12 deletions(-)
fargo/templates/fargo/home.html
54 54
      </div>
55 55
    {% endif %}
56 56

  
57
    {% if not table.page %}
58
       <div class="table-container">
59
    {% endif %}
60 57
    {% render_table table "fargo/table.html" %}
61
    {% if not table.page %}
62
       </div>
63
    {% endif %}
64 58

  
65 59
    {% if full %}
66 60
    <div class="infonotice">
fargo/templates/fargo/pick.html
5 5
{% block bodyclasses %}fargo-popup fargo-pick-popup{% endblock %}
6 6

  
7 7
{% block content %}
8
    {% if not table.page %}
9
       <div class="table-container">
10
    {% endif %}
11 8
    {% render_table table "fargo/pick_table.html" %}
12
    {% if not table.page %}
13
       </div>
14
    {% endif %}
15 9
    <form method="post" enctype="multipart/form-data">
16 10
      {% csrf_token %}
17 11
      {{ form.non_field_errors }}
18
-