Explorar o código

Do not show portal content when the offset is greater than 0

Sotaro KARASAWA %!s(int64=10) %!d(string=hai) anos
pai
achega
209f878131
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/views/page_list.html

+ 1 - 1
lib/views/page_list.html

@@ -41,7 +41,7 @@
   data-page-is-seen="{% if page and page.isSeenUser(user) %}1{% else %}0{% endif %}"
   >
 
-<div class="portal {% if not page %}hide{% endif %}">
+<div class="portal {% if not page or req.query.offset > 0 %}hide{% endif %}">
 
   <ul class="nav nav-tabs hidden-print">
    {# portal tab #}