瀏覽代碼

exclusion null from candidate

itizawa 7 年之前
父節點
當前提交
e53852b1df
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 > 1 %}
       <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') }})