Commit 7d4b31fa authored by okhin's avatar okhin 🚴

Merge branch '14-contacter-tous-les-contributeurs-d-un-article-par-email' into 'rp2'

Resolve "Contacter tous les contributeurs d'un article par email"

Closes #14

See merge request !45
parents cef50904 837bcfd6
Pipeline #2629 passed with stages
in 4 minutes and 8 seconds
...@@ -104,7 +104,7 @@ class Article(models.Model): ...@@ -104,7 +104,7 @@ class Article(models.Model):
#: If the article is quoting something LQDN said or wrote #: If the article is quoting something LQDN said or wrote
quote = models.BooleanField(_("Article directly quotes us"), quote = models.BooleanField(_("Article directly quotes us"),
default=False) default=False)
#: If the article speaks about something LQDN did or wrote #: If the article speaks about something LQDN did or wrote
speak = models.BooleanField(_("Article speaks of us"), default=False) speak = models.BooleanField(_("Article speaks of us"), default=False)
......
...@@ -60,6 +60,10 @@ ...@@ -60,6 +60,10 @@
<span class="badge badge-info ml-1"><span class="glyphicon glyphicon-bullhorn" aria-label="{{ _("Speaks about us") }}"></span> <span class="badge badge-info ml-1"><span class="glyphicon glyphicon-bullhorn" aria-label="{{ _("Speaks about us") }}"></span>
{% endif %} {% endif %}
<h4>{{ _("Article created by:") }}&nbsp;<em>{{ article.created_by }}</em></h4>
<p>
<a target="mailto:{{ article.created_by.user.email }}"><span class="glyphicon glyphicon-envelope" aria-label="{{ _("Contact this user by email")}}"></span>
</p>
<p>{{object.extracts |markdown}}</p> <p>{{object.extracts |markdown}}</p>
</div> </div>
</div> </div>
......
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