Commit f1ee3a91 authored by SeeBeyond's avatar SeeBeyond

Fix mis-matched navigation buttons

parent 56346ee1
...@@ -9,14 +9,14 @@ ...@@ -9,14 +9,14 @@
</div> </div>
<div class="pagination"> <div class="pagination">
{% if hotMonthOffset > 0 %} {% if hotMonthOffset > 0 %}
<a href="{{ path('index.hotThisWeek', {hotMonthOffset: hotMonthOffset - 1}) }}" class="button"><i class="mdi mdi-chevron-left"></i> PREVIOUS</a> <a href="{{ path('index.hotThisMonth', {hotMonthOffset: hotMonthOffset - 1}) }}" class="button"><i class="mdi mdi-chevron-left"></i> PREVIOUS</a>
{% else %} {% else %}
<a class="button button-disabled"><i class="mdi mdi-chevron-left"></i> PREVIOUS</a> <a class="button button-disabled"><i class="mdi mdi-chevron-left"></i> PREVIOUS</a>
{% endif %} {% endif %}
{% if hotMonthSongs|length < 10 %} {% if hotMonthSongs|length < 10 %}
<a class="button button-disabled">NEXT <i class="mdi mdi-chevron-right"></i></a> <a class="button button-disabled">NEXT <i class="mdi mdi-chevron-right"></i></a>
{% else %} {% else %}
<a href="{{ path('index.hotThisWeek', {hotMonthOffset: hotMonthOffset + 1}) }}" class="button">NEXT <i class="mdi mdi-chevron-right"></i></a> <a href="{{ path('index.hotThisMonth', {hotMonthOffset: hotMonthOffset + 1}) }}" class="button">NEXT <i class="mdi mdi-chevron-right"></i></a>
{% endif %} {% endif %}
</div> </div>
</div> </div>
......
...@@ -9,14 +9,14 @@ ...@@ -9,14 +9,14 @@
</div> </div>
<div class="pagination"> <div class="pagination">
{% if hotWeekOffset > 0 %} {% if hotWeekOffset > 0 %}
<a href="{{ path('index.hotThisMonth', {hotWeekOffset: hotWeekOffset - 1}) }}" class="button"><i class="mdi mdi-chevron-left"></i> PREVIOUS</a> <a href="{{ path('index.hotThisWeek', {hotWeekOffset: hotWeekOffset - 1}) }}" class="button"><i class="mdi mdi-chevron-left"></i> PREVIOUS</a>
{% else %} {% else %}
<a class="button button-disabled"><i class="mdi mdi-chevron-left"></i> PREVIOUS</a> <a class="button button-disabled"><i class="mdi mdi-chevron-left"></i> PREVIOUS</a>
{% endif %} {% endif %}
{% if hotWeekSongs|length < 10 %} {% if hotWeekSongs|length < 10 %}
<a class="button button-disabled">NEXT <i class="mdi mdi-chevron-right"></i></a> <a class="button button-disabled">NEXT <i class="mdi mdi-chevron-right"></i></a>
{% else %} {% else %}
<a href="{{ path('index.hotThisMonth', {hotWeekOffset: hotWeekOffset + 1}) }}" class="button">NEXT <i class="mdi mdi-chevron-right"></i></a> <a href="{{ path('index.hotThisWeek', {hotWeekOffset: hotWeekOffset + 1}) }}" class="button">NEXT <i class="mdi mdi-chevron-right"></i></a>
{% endif %} {% endif %}
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment