Projet

Général

Profil

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

Benjamin Dauvergne, 09 avril 2020 14:37

Télécharger (1,7 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 | 7 -------
 fargo/templates/fargo/pick.html | 6 ------
 2 files changed, 13 deletions(-)
fargo/templates/fargo/home.html
44 44
  <div class="cell">
45 45
  <h2>{% if site_title %}{{ site_title }}{% else %}{% trans "Portfolio" %}{% endif %}</h2>
46 46
  <div id="user-files">
47
    {% if not table.page %}
48
       <div class="table-container">
49
    {% endif %}
50 47
    {% render_table table "fargo/table.html" %}
51
    {% if not table.page %}
52
       </div>
53
    {% endif %}
54
     
55 48
    <form id="send-file" method="post" enctype="multipart/form-data">
56 49
      {% csrf_token %}
57 50
      {{ form.non_field_errors }}
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
-