← Back to team overview

widelands-dev team mailing list archive

[Merge] lp:~janus-jhor/widelands-website/unread_read_outbox_messages into lp:widelands-website

 

janus has proposed merging lp:~janus-jhor/widelands-website/unread_read_outbox_messages into lp:widelands-website.

Requested reviews:
  Widelands Developers (widelands-dev)

For more details, see:
https://code.launchpad.net/~janus-jhor/widelands-website/unread_read_outbox_messages/+merge/311994

Zeigt in der Outbox Nachrichten an den Empfänger als ungelesen, kursiv, an, bis der Empfänger die Nachricht gelesen hat
-- 
Your team Widelands Developers is requested to review the proposed merge of lp:~janus-jhor/widelands-website/unread_read_outbox_messages into lp:widelands-website.
=== modified file 'templates/django_messages/outbox.html'
--- templates/django_messages/outbox.html	2016-03-02 21:02:38 +0000
+++ templates/django_messages/outbox.html	2016-11-28 23:18:12 +0000
@@ -20,7 +20,7 @@
 		</thead>
 		<tbody>
 		{% for message in message_list %} 
-			<tr>
+			<tr class="{% if message.new %}italic{% endif %}">
 				<td>{{ message.recipient|user_link }}</td>
 				<td>
 					<a href="{{message.get_absolute_url }}">{{ message.subject }}</a>


Follow ups