]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blobdiff - templates/planet/posting.html
planet: Enhance post composition/editing pages.
[people/shoehn/ipfire.org.git] / templates / planet / posting.html
index 4d769e0c1e223cba252f88733f3dd8926dba6ac8..921ba408cf866da8127a67aa38ceca5794156d5a 100644 (file)
 
        <div class="row">
                <div class="span9">
+                       {% if entry.is_draft() %}
+                               <div class="alert">
+                                       <button type="button" class="close" data-dismiss="alert">&times;</button>
+                                       <strong>{{ _("Heads up!") }}</strong> {{ _("This post is a draft and has not been published, yet.") }}
+                               </div>
+                       {% end %}
+
                        {% raw entry.text %}
                </div>