UI: uses tiny avatars for reports (#6215)

This commit is contained in:
Joffrey JAFFEUX 2018-07-31 18:57:00 -04:00 committed by GitHub
parent 8299fe0947
commit 0715aa18da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -319,7 +319,7 @@ const Report = Discourse.Model.extend({
});
const avatarImg = renderAvatar(user, {
imageSize: "small",
imageSize: "tiny",
ignoreTitle: true
});

View File

@ -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");