+.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
- {{ 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