Skip to content

Commit

Permalink
Don't repeat info on pagination. Fixes hasgeek#324.
Browse files Browse the repository at this point in the history
  • Loading branch information
jace committed Apr 25, 2016
1 parent 0806a72 commit d8d0464
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hasjob/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@
{%- endif %}
</div>
{%- endif %}
{%- if location and location.use_title and location.description %}
{%- if location and location.use_title and location.description and not paginated %}
<div class="flash info">
<h2>{{ location.use_title }}</h2>
{{ location.description }}
</div>
{%- elif location_prompts and not domain %}
{%- elif location_prompts and not domain and not paginated %}
<div class="flash info">
<p>In {{ location_prompts[0]['use_title'] }}? Filter this view:</p>
<p class="button-bar">
Expand All @@ -81,9 +81,9 @@ <h2>{{ location.use_title }}</h2>
</p>
</div>
{%- endif %}
{%- if domain %}
{%- if domain and not paginated %}
{{ org_profile(domain) }}
{%- elif md5sum %}
{%- elif md5sum and not paginated %}
{%- if template_vars['jobpost_user'] %}
{{ user_profile(template_vars['jobpost_user']) }}
{%- endif %}
Expand Down

0 comments on commit d8d0464

Please sign in to comment.