Kaynağa Gözat

Merge pull request #1009 from weseek/fix/blue-band-during-page-grant-null

Fix/blue band during page grant null
Yuki Takei 6 yıl önce
ebeveyn
işleme
7f6e991093
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/server/views/widget/page_alerts.html

+ 1 - 1
src/server/views/widget/page_alerts.html

@@ -1,6 +1,6 @@
 <div class="row row-alerts">
   <div class="col-xs-12">
-    {% if page && page.grant != 1 %}
+    {% if page && page.grant %}
       <p class="alert alert-inverse alert-grant">
       {% if page.grant == 2 %}
         <i class="icon-fw icon-link"></i><strong>{{ consts.pageGrants[page.grant] }}</strong> ({{ t('Browsing of this page is restricted') }})