Commit 837bcfd6 authored by Okhin's avatar Okhin
Browse files

Upgrading the template to add a mailto: link for the person who edited the article

parent cef50904
Pipeline #2620 passed with stages
in 3 minutes and 6 seconds
......@@ -104,7 +104,7 @@ class Article(models.Model):
#: If the article is quoting something LQDN said or wrote
quote = models.BooleanField(_("Article directly quotes us"),
#: If the article speaks about something LQDN did or wrote
speak = models.BooleanField(_("Article speaks of us"), default=False)
......@@ -60,6 +60,10 @@
<span class="badge badge-info ml-1"><span class="glyphicon glyphicon-bullhorn" aria-label="{{ _("Speaks about us") }}"></span>
{% endif %}
<h4>{{ _("Article created by:") }}&nbsp;<em>{{ article.created_by }}</em></h4>
<a target="mailto:{{ }}"><span class="glyphicon glyphicon-envelope" aria-label="{{ _("Contact this user by email")}}"></span>
<p>{{object.extracts |markdown}}</p>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment