|
@@ -1,6 +1,6 @@
|
|
|
<div class="row row-alerts">
|
|
<div class="row row-alerts">
|
|
|
<div class="col-xs-12">
|
|
<div class="col-xs-12">
|
|
|
- {% if page && page.grant > 1 %}
|
|
|
|
|
|
|
+ {% if page && page.grant %}
|
|
|
<p class="alert alert-inverse alert-grant">
|
|
<p class="alert alert-inverse alert-grant">
|
|
|
{% if page.grant == 2 %}
|
|
{% if page.grant == 2 %}
|
|
|
<i class="icon-fw icon-link"></i><strong>{{ consts.pageGrants[page.grant] }}</strong> ({{ t('Browsing of this page is restricted') }})
|
|
<i class="icon-fw icon-link"></i><strong>{{ consts.pageGrants[page.grant] }}</strong> ({{ t('Browsing of this page is restricted') }})
|
|
@@ -12,12 +12,6 @@
|
|
|
</p>
|
|
</p>
|
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
|
|
|
|
- {% if page && page.grant == null %}
|
|
|
|
|
- <p class="alert alert-inverse alert-grant">
|
|
|
|
|
- The grant of this page is null, updated this page.
|
|
|
|
|
- </p>
|
|
|
|
|
- {% endif %}
|
|
|
|
|
-
|
|
|
|
|
{% if isTrashPage() %}
|
|
{% if isTrashPage() %}
|
|
|
<div class="alert alert-warning alert-trash d-flex align-items-center justify-content-between">
|
|
<div class="alert alert-warning alert-trash d-flex align-items-center justify-content-between">
|
|
|
<div>
|
|
<div>
|