Explorar o código

added .hide-on-edit

ryuichi-e %!s(int64=6) %!d(string=hai) anos
pai
achega
f112a24237
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/server/views/widget/page_alerts.html

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

@@ -29,7 +29,7 @@
     {% endif %}
 
     {% if redirectFrom or req.query.renamed or req.query.redirectFrom %}
-    <div class="alert alert-info py-3 px-4 d-flex align-items-center justify-content-between">
+    <div class="alert alert-info hide-on-edit py-3 px-4 d-flex align-items-center justify-content-between">
       <span>
         {% set fromPath = req.query.renamed or req.query.redirectFrom %}
         {% if redirectFrom or req.query.redirectFrom %}
@@ -61,7 +61,7 @@
     {% endif %}
 
     {% if req.query.unlinked %}
-    <div class="alert alert-info py-3 px-4">
+    <div class="alert alert-info hide-on-edit py-3 px-4">
       <strong>{{ t('Unlinked') }}: </strong> {{ t('page_page.notice.unlinked') }}
     </div>
     {% endif %}