UI: uses tiny avatars for reports (#6215)
This commit is contained in:
parent
8299fe0947
commit
0715aa18da
|
@ -319,7 +319,7 @@ const Report = Discourse.Model.extend({
|
|||
});
|
||||
|
||||
const avatarImg = renderAvatar(user, {
|
||||
imageSize: "small",
|
||||
imageSize: "tiny",
|
||||
ignoreTitle: true
|
||||
});
|
||||
|
||||
|
|
|
@ -456,7 +456,7 @@ QUnit.test("computed labels", assert => {
|
|||
const computedUsernameLabel = usernameLabel.compute(row);
|
||||
assert.equal(
|
||||
computedUsernameLabel.formatedValue,
|
||||
"<a href='/admin/users/1/joffrey'><img alt='' width='25' height='25' src='/' class='avatar' title='joffrey'><span class='username'>joffrey</span></a>"
|
||||
"<a href='/admin/users/1/joffrey'><img alt='' width='20' height='20' src='/' class='avatar' title='joffrey'><span class='username'>joffrey</span></a>"
|
||||
);
|
||||
assert.equal(computedUsernameLabel.type, "user");
|
||||
assert.equal(computedUsernameLabel.value, "joffrey");
|
||||
|
|
Loading…
Reference in New Issue