diff --git a/templates/blog/blog.html b/templates/blog/blog.html index 213a291..4b1abcd 100644 --- a/templates/blog/blog.html +++ b/templates/blog/blog.html @@ -29,8 +29,9 @@ {% trans time=post.publish_on|date(_("N j, Y, g:i a")) %} posted on {{ time }}{% endtrans %} {% if post.is_editable_by(request.user) %} - [{{ _('Edit') }}] - {% elif valid_user_to_show_edit %} + [{{ _('Edit') }}] + {% endif %} + {% if valid_user_to_show_edit %} {% for org in valid_org_to_show_edit %} [{{ _('Edit in') }} {{org.slug}}] {% endfor %}