Browse Source

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

Sotaro KARASAWA 10 years ago
parent
commit
209f878131
1 changed files with 1 additions and 1 deletions
  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 %}"
   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">
   <ul class="nav nav-tabs hidden-print">
    {# portal tab #}
    {# portal tab #}