Changeset - 9b888ab4c94f
[Not reviewed]
0 1 0
Christopher Neugebauer - 7 years ago 2016-09-13 09:06:59
chrisjrn@gmail.com
Updates reporting template to match new API
1 file changed with 2 insertions and 5 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/registrasion/report.html
Show inline comments
...
 
@@ -20,20 +20,17 @@
 
  <table class="table table-striped">
 
    <tr>
 
      {% for heading in report.headings %}
 
        <th>{{ heading }}</th>
 
      {% endfor %}
 
    </tr>
 
    {% for line in report.data %}
 
    {% for line in report.rows %}
 
      <tr>
 
        {% for item in line %}
 
          <td>
 
            {% if report.link_view and forloop.counter0 == 0 %}
 
              <a href="{% url report.link_view item %}">
 
            {% endif %}
 
            {{ item }}
 
            {{ item|safe }}
 
          </td>
 
        {% endfor %}
 
      </tr>
 
    {% endfor %}
 
  </table>
 
{% endfor %}
0 comments (0 inline, 0 general)