From 0a18fb1d1a8c2d40e162fc6b2544ca478a5d090b Mon Sep 17 00:00:00 2001 From: ethan-nelson Date: Sun, 24 May 2015 17:43:03 -0500 Subject: [PATCH] adding from user links in message interface --- osmtm/templates/message.mako | 3 ++- osmtm/templates/user.messages.mako | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/osmtm/templates/message.mako b/osmtm/templates/message.mako index 56521cdd..c789d557 100644 --- a/osmtm/templates/message.mako +++ b/osmtm/templates/message.mako @@ -17,7 +17,8 @@ ${message.subject|n}

- ${_('From:')} ${message.from_user.username}
+ ${_('From:')} + ${message.from_user.username}

diff --git a/osmtm/templates/user.messages.mako b/osmtm/templates/user.messages.mako index 93a84ef3..193f951c 100644 --- a/osmtm/templates/user.messages.mako +++ b/osmtm/templates/user.messages.mako @@ -19,7 +19,8 @@ import bleach % for message in messages: - ${message.from_user.username} + + ${message.from_user.username} ${bleach.clean(message.subject, [], strip=True)|n}