Skip to content

Commit

Permalink
fix #944 when page.grant is 1
Browse files Browse the repository at this point in the history
  • Loading branch information
yuki-takei committed Jun 6, 2019
1 parent dd3031a commit 546c313
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server/views/widget/page_alerts.html
@@ -1,6 +1,7 @@
<div class="row row-alerts">
<div class="col-xs-12">
{% if page && page.grant %}
{% if page && page.grant && 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') }})
Expand Down

0 comments on commit 546c313

Please sign in to comment.