User references appearance improved

main
Inga 🏳‍🌈 13 years ago
parent 7e0e55b9c1
commit c32ac15925
  1. 2
      FLocal.Common/BBCodes/helpers/UserMentionProcessor.cs
  2. 6
      Resources/FLocal/static/css/modern/global.css

@ -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("<a class=\"separate UG_{0}\" href=\"{1}\">{2}</a>", Safe(user.userGroup.name), url.canonical, Safe(user.name));
return String.Format("<a class=\"separate userreference UG_{0}\" href=\"{1}\">{2}</a>", Safe(user.userGroup.name), url.canonical, Safe(user.name));
}
}

@ -283,4 +283,8 @@ a.external {
.headerLink {
margin-left:0.5em;
margin-right:0.5em;
}
}
.userreference:before {
content: "@";
}

Loading…
Cancel
Save