Changeset - 32340c9a9834
[Not reviewed]
0 1 0
Christopher Neugebauer - 5 years ago 2016-09-03 03:51:21
chrisjrn@gmail.com
Show sectioned reports
1 file changed with 19 insertions and 16 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/registrasion/report.html
Show inline comments
...
 
@@ -12,27 +12,30 @@
 
      <br/>
 
      <input type="submit">
 
    </form>
 
  {% endif %}
 
<hr />
 

	
 
<table class="table table-striped">
 
  <tr>
 
    {% for heading in report.headings %}
 
      <th>{{ heading }}</th>
 
    {% endfor %}
 
  </tr>
 
  {% for line in report.data %}
 
{% for report in reports %}
 
  <h3>{{ report.title }}</h3>
 
  <table class="table table-striped">
 
    <tr>
 
      {% for item in line %}
 
        <td>
 
          {% if report.link_view and forloop.counter0 == 0 %}
 
            <a href="{% url report.link_view item %}">
 
          {% endif %}
 
          {{ item }}
 
        </td>
 
      {% for heading in report.headings %}
 
        <th>{{ heading }}</th>
 
      {% endfor %}
 
    </tr>
 
  {% endfor %}
 
</table>
 
    {% for line in report.data %}
 
      <tr>
 
        {% for item in line %}
 
          <td>
 
            {% if report.link_view and forloop.counter0 == 0 %}
 
              <a href="{% url report.link_view item %}">
 
            {% endif %}
 
            {{ item }}
 
          </td>
 
        {% endfor %}
 
      </tr>
 
    {% endfor %}
 
  </table>
 
{% endfor %}
 

	
 
{% endblock %}
0 comments (0 inline, 0 general)