From c32ac15925364df881bd9f661bbaff014be3f5b6 Mon Sep 17 00:00:00 2001 From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Fri, 20 Apr 2012 22:45:42 +0400 Subject: [PATCH] User references appearance improved --- FLocal.Common/BBCodes/helpers/UserMentionProcessor.cs | 2 +- Resources/FLocal/static/css/modern/global.css | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/FLocal.Common/BBCodes/helpers/UserMentionProcessor.cs b/FLocal.Common/BBCodes/helpers/UserMentionProcessor.cs index 4481653..1933365 100644 --- a/FLocal.Common/BBCodes/helpers/UserMentionProcessor.cs +++ b/FLocal.Common/BBCodes/helpers/UserMentionProcessor.cs @@ -14,7 +14,7 @@ namespace FLocal.Common.BBCodes { var user = dataobjects.User.LoadByName(username); context.OnUserMention(user); var url = new URL.users.user.Info(user.id.ToString(), null); - return String.Format("{2}", Safe(user.userGroup.name), url.canonical, Safe(user.name)); + return String.Format("{2}", Safe(user.userGroup.name), url.canonical, Safe(user.name)); } } diff --git a/Resources/FLocal/static/css/modern/global.css b/Resources/FLocal/static/css/modern/global.css index 8d562f3..ccfd347 100644 --- a/Resources/FLocal/static/css/modern/global.css +++ b/Resources/FLocal/static/css/modern/global.css @@ -283,4 +283,8 @@ a.external { .headerLink { margin-left:0.5em; margin-right:0.5em; -} \ No newline at end of file +} + +.userreference:before { + content: "@"; +}