]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Resources/views/base.html.twig
warning bar: add parameter to dis/enable it
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / base.html.twig
index a6cba6cebec848f6a402a9985fcdbb2aebf81d4f..e27aceae492e658ade3ff47f2ed08802f3410836 100644 (file)
                 <p>{% trans %}powered by{% endtrans %} <a href="http://wallabag.org">wallabag</a></p>
             </footer>
         {% endblock %}
-        <div id="alphabar">You're trying wallabag v2, which is in alpha version. If you find a bug, please have a look to <a href="https://github.com/wallabag/wallabag/issues">our issues list</a> and <a href="https://github.com/wallabag/wallabag/issues/new">open a new if necessary</a>.</div>
+        {% if warning_message %}
+        <div id="warning_message">
+            {{ warning_message | raw }}
+        </div>
+        {% endif %}
     </body>
 </html>