use User object in controller as well
This commit is contained in:
parent
1436477bad
commit
cd6c77398f
|
@ -450,8 +450,8 @@ namespace SparkleShare {
|
||||||
foreach (SparkleNote note in change_set.Notes) {
|
foreach (SparkleNote note in change_set.Notes) {
|
||||||
comments += "<div class=\"comment-text\">" +
|
comments += "<div class=\"comment-text\">" +
|
||||||
"<p class=\"comment-author\"" +
|
"<p class=\"comment-author\"" +
|
||||||
" style=\"background-image: url('file://" + GetAvatar (note.UserEmail, 48) + "');\">" +
|
" style=\"background-image: url('file://" + GetAvatar (note.User.Email, 48) + "');\">" +
|
||||||
note.UserName + "</p>" +
|
note.User.Name + "</p>" +
|
||||||
note.Body +
|
note.Body +
|
||||||
"</div>";
|
"</div>";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue