Просмотр исходного кода

replace py-3 px-4 from alert-grant

ryuichi-e 6 лет назад
Родитель
Сommit
78a6f92a59
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/server/views/widget/page_alerts.html

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

@@ -2,6 +2,7 @@
   <div class="col-sm-12">
   <div class="col-sm-12">
     {% if page && page.grant && page.grant > 1 %}
     {% if page && page.grant && page.grant > 1 %}
 
 
+      <p class="alert py-3 px-4">
       {% 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') }})
       {% elseif page.grant == 4 %}
       {% elseif page.grant == 4 %}