Skip to content
This repository has been archived by the owner on Jan 31, 2018. It is now read-only.

Commit

Permalink
Fix missing div at end
Browse files Browse the repository at this point in the history
  • Loading branch information
willkg committed Feb 19, 2014
1 parent 3211a09 commit 64c52ea
Showing 1 changed file with 36 additions and 35 deletions.
71 changes: 36 additions & 35 deletions fjord/analytics/templates/analytics/analyzer/search.html
Expand Up @@ -150,46 +150,47 @@ <h3>{{ _('When') }}</h3>
{% block content_middle %} {% block content_middle %}
<div class="col full"> <div class="col full">


<div class="block feedback"> <div class="block feedback">
<h2>Feedback search: {{ opinion_count }} responses</h2> <h2>Feedback search: {{ opinion_count }} responses</h2>


<form id="analyzer_search" action="{{ request.get_full_path() }}" method="get"> <form id="analyzer_search" action="{{ request.get_full_path() }}" method="get">
<input class="search_box" type="text" name="q" <input class="search_box" type="text" name="q"
placeholder="Search by text query" value="{{ current_search.q }}" /> placeholder="Search by text query" value="{{ current_search.q }}" />


{% for key, value in current_search.items() %} {% for key, value in current_search.items() %}
{% if key not in ('q', 'page') %} {% if key not in ('q', 'page') %}
<input type="hidden" name="{{ key }}" value="{{ value }}" /> <input type="hidden" name="{{ key }}" value="{{ value }}" />
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</form> </form>

<p class="note">
Note: This contains confidential personally identifiable
information. Please act responsibly with it.
</p>


<p> <p class="note">
<a href="{{ request.get_full_path()|urlparams(format='csv') }}">CSV export</a> Note: This contains confidential personally identifiable
</p> information. Please act responsibly with it.
</p>


<ul class="search_results"> <p>
{% for opinion in opinions %} <a href="{{ request.get_full_path()|urlparams(format='csv') }}">CSV export</a>
{{ feedback_block(opinion) }} </p>
{% endfor %}
</ul>


<div class="pager"> <ul class="search_results">
{% if next_page %} {% for opinion in opinions %}
<a class="older" href="{{ request.get_full_path()|urlparams(page=next_page) }}"> {{ feedback_block(opinion) }}
Older Messages {% endfor %}
</a> </ul>
{% endif %}
{% if prev_page %} <div class="pager">
<a class="newer" href="{{ request.get_full_path()|urlparams(page=prev_page) }}"> {% if next_page %}
Newer Messages <a class="older" href="{{ request.get_full_path()|urlparams(page=next_page) }}">
</a> Older Messages
{% endif %} </a>
{% endif %}
{% if prev_page %}
<a class="newer" href="{{ request.get_full_path()|urlparams(page=prev_page) }}">
Newer Messages
</a>
{% endif %}
</div>
</div> </div>
</div> </div>
{% endblock %} {% endblock %}

0 comments on commit 64c52ea

Please sign in to comment.