]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Add message on unread page about v2 1815/head
authorNicolas Lœuillet <nicolas@loeuillet.org>
Thu, 24 Mar 2016 13:28:22 +0000 (14:28 +0100)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Thu, 24 Mar 2016 13:28:22 +0000 (14:28 +0100)
themes/baggy/css/messages.css
themes/default/_messages.twig

index 42da70b30dbc8a4d36a9caae3653e2eadbceb3ca..5854e7318089d21fd1ad888d4711296fb6b2d8a7 100755 (executable)
@@ -1,3 +1,20 @@
+.messages {
+    display: block;
+    clear: both;
+    width: 400px;
+    margin: 10px auto 10px;
+    padding: 10px 0;
+    -moz-border-radius: 4px;
+    border-radius: 4px;
+}
+
+.messages p {
+    margin: 3px 0 3px 10px !important;
+    padding: 0 10px 0 23px !important;
+    font-size: 14px;
+    line-height: 16px;
+}
+
 .messages.error.install {
     border: 1px solid #c42608;
     color: #c00 !important;
     border: 1px solid #6dc70c;
     background: #e0fbcc !important;
     text-align: left;
+}
+
+.messages.information,
+.messages.info {
+    border: 1px solid #82aee7;
+    background: #dfebfb;
 }
\ No newline at end of file
index 679aa09811b53046d93bc9615f77121200fa4fd7..80ae456dd5798b83f19204e1cc736b0a4561bc82 100644 (file)
@@ -1 +1,6 @@
-                {{ messages | raw }}
\ No newline at end of file
+                {{ messages | raw }}
+                {% if view == 'home' %}
+                <div class="messages information">
+                    <p><a href="http://doc.wallabag.org">wallabag v2 is out, please read the documentation to upgrade.</a></p>
+                </div>
+                {% endif %}
\ No newline at end of file