[damned-lies] Show which messages have been sent to the list
- From: Claude Paroz <claudep src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] Show which messages have been sent to the list
- Date: Thu, 14 Apr 2016 17:42:45 +0000 (UTC)
commit ed3c4e60e2f096720a9d104ec6822eddd5040b2c
Author: Tom Tryfonidis <tomtryf gmail com>
Date: Thu Apr 14 16:59:40 2016 +0300
Show which messages have been sent to the list
Fixes Bug #762586
common/static/css/template.css | 7 +++++++
common/static/img/mail.png | Bin 0 -> 365 bytes
common/static/img/share.png | Bin 0 -> 579 bytes
templates/vertimus/vertimus_detail.html | 6 +++++-
4 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/common/static/css/template.css b/common/static/css/template.css
index c3fc3c1..c115f2a 100644
--- a/common/static/css/template.css
+++ b/common/static/css/template.css
@@ -1042,3 +1042,10 @@ ul.foot li {
#footer #footnotes a {
color: inherit;
}
+
+img.action_icons {
+ width: 20px;
+ height: 20px;
+ float: right;
+ margin: 0 2px;
+}
diff --git a/common/static/img/mail.png b/common/static/img/mail.png
new file mode 100644
index 0000000..9ea8909
Binary files /dev/null and b/common/static/img/mail.png differ
diff --git a/common/static/img/share.png b/common/static/img/share.png
new file mode 100644
index 0000000..f6c8a25
Binary files /dev/null and b/common/static/img/share.png differ
diff --git a/templates/vertimus/vertimus_detail.html b/templates/vertimus/vertimus_detail.html
index f39b166..cefaabd 100644
--- a/templates/vertimus/vertimus_detail.html
+++ b/templates/vertimus/vertimus_detail.html
@@ -175,7 +175,11 @@ $(document).ready(function() {
<div class="vertimus_action_head">
<div class="face_image">{{ action.person|people_image }}</div>
<a href="{{ action.person.get_absolute_url }}">{{ action.person.name }}</a>
- , <br /><a name="{{ action.id }}" href="#{{ action.id }}" title="{% trans 'Link to this comment'
%}">#</a>
+ , <br /><a name="{{ action.id }}" href="#{{ action.id }}" title="{% trans 'Link to this comment'
%}"><img alt="link comment icon" class="action_icons" src="{{ STATIC_URL }}img/share.png"></a>
+ {% if action.sent_to_ml%}
+ <img alt="mail icon sent" class="action_icons" src="{{ STATIC_URL }}img/mail.png"
+ title="{% trans 'This message was sent to the mailing list' %}">
+ {% endif %}
<strong>{{ action.description }}</strong>
, {{ action.created|date:_("Y-m-d g:i a O") }}
<div class="clear"></div>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]