# HG changeset patch # User Goffi # Date 1619708180 -7200 # Node ID c08fadf23c46d8212117817a4a037d319dd4ea17 # Parent b9e04a8a45c3feb69caa06c3b86c98329123e9da bulma (blog/discover): new "new post" button to publish a new post diff -r b9e04a8a45c3 -r c08fadf23c46 sat_templates/templates/bulma/blog/discover.html --- a/sat_templates/templates/bulma/blog/discover.html Thu Apr 29 16:30:02 2021 +0200 +++ b/sat_templates/templates/bulma/blog/discover.html Thu Apr 29 16:56:20 2021 +0200 @@ -6,9 +6,14 @@ {% import 'input/field.html' as field with context %} {% block body %} -{{ icon_defs('blog') }} +{{ icon_defs('blog', 'pencil') }}
+ {% if url_blog_edit is defined %} +
+ {{ component.action_button(url_blog_edit, _("new post"), "pencil") }} +
+ {% endif %}
{% trans %} @@ -16,9 +21,6 @@ {% endtrans %}
-
- -
{% for entity in disco_entities %}