Project

General

Profile

0001-style-use-gadjo-style-for-list-of-links-on-visualisa.patch

Frédéric Péters, 14 Mar 2019 08:50 AM

Download (1.44 KB)

View differences:

Subject: [PATCH] style: use gadjo style for list of links on visualisations
 page (#31403)

 bijoe/templates/bijoe/visualizations.html | 23 +++++++++--------------
 1 file changed, 9 insertions(+), 14 deletions(-)
bijoe/templates/bijoe/visualizations.html
6 6
<a>{% trans "Visualizations" %}</a>
7 7
{% endblock %}
8 8

  
9
{% block appbar %}
10
<h2>{% trans "Visualizations" %}</h2>
11
{% endblock %}
12

  
9 13
{% block content %}
10
  <table class="main">
11
    <thead>
12
      <th class="bijoe-visualization-name">{% trans "Name" %}</th>
13
    </thead>
14
    <tbody>
15
      {% for visualization in object_list %}
16
        <tr>
17
          <td class="bijoe-visualization-name">
18
            <a href="{% url "visualization" pk=visualization.pk %}">{{ visualization.name }}</a>
19
          </td>
20
        </tr>
21
      {% endfor %}
22
    </tbody>
23
  </table>
14
  <ul class="objects-list single-links bijoe-visualizations">
15
  {% for visualization in object_list %}
16
    <li><a href="{% url "visualization" pk=visualization.pk %}">{{ visualization.name }}</a></li>
17
  {% endfor %}
18
  </ul>
24 19
{% endblock %}
25
-