use User object in controller as well

This commit is contained in:
Hylke Bons 2011-07-23 22:34:58 +01:00
parent 253111e901
commit 69e13ae328

View file

@ -450,8 +450,8 @@ namespace SparkleShare {
foreach (SparkleNote note in change_set.Notes) {
comments += "<div class=\"comment-text\">" +
"<p class=\"comment-author\"" +
" style=\"background-image: url('file://" + GetAvatar (note.UserEmail, 48) + "');\">" +
note.UserName + "</p>" +
" style=\"background-image: url('file://" + GetAvatar (note.User.Email, 48) + "');\">" +
note.User.Name + "</p>" +
note.Body +
"</div>";
}