aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-05-28 10:39:24 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-05-28 10:39:24 +0200
commitdaced6cc12ea041b1de76a2dd7cac286a2fece68 (patch)
treec6088f11175243baae1fcf46750acd637993fe58 /server/sonar-web/src/main/js
parentafa40b01fc3109797305b3f1732f4f3aa4c6c9ca (diff)
downloadsonarqube-daced6cc12ea041b1de76a2dd7cac286a2fece68.tar.gz
sonarqube-daced6cc12ea041b1de76a2dd7cac286a2fece68.zip
SONAR-6579 apply gravatars feedback
Diffstat (limited to 'server/sonar-web/src/main/js')
-rw-r--r--server/sonar-web/src/main/js/components/common/handlebars-extensions.js2
-rw-r--r--server/sonar-web/src/main/js/components/source-viewer/templates/source-viewer.hbs6
2 files changed, 2 insertions, 6 deletions
diff --git a/server/sonar-web/src/main/js/components/common/handlebars-extensions.js b/server/sonar-web/src/main/js/components/common/handlebars-extensions.js
index cec8c0c725b..44dc16d5680 100644
--- a/server/sonar-web/src/main/js/components/common/handlebars-extensions.js
+++ b/server/sonar-web/src/main/js/components/common/handlebars-extensions.js
@@ -573,7 +573,7 @@
.replace('{EMAIL_MD5}', emailHash)
.replace('{SIZE}', size);
return new Handlebars.SafeString(
- '<img src="' + url + '" width="' + size + '" height="' + size + '" alt="' + email + '">'
+ '<img class="rounded" src="' + url + '" width="' + size + '" height="' + size + '" alt="' + email + '">'
);
});
diff --git a/server/sonar-web/src/main/js/components/source-viewer/templates/source-viewer.hbs b/server/sonar-web/src/main/js/components/source-viewer/templates/source-viewer.hbs
index 1f4c3ffeb19..123d21e86a2 100644
--- a/server/sonar-web/src/main/js/components/source-viewer/templates/source-viewer.hbs
+++ b/server/sonar-web/src/main/js/components/source-viewer/templates/source-viewer.hbs
@@ -13,11 +13,7 @@
<td class="source-meta source-line-scm" {{#if line}}data-line-number="{{line}}"{{/if}}>
{{#ifSCMChanged2 ../source line}}
- <div class="source-line-scm-inner" data-author="{{scmAuthor}}">
- {{#gt line 0}}
- {{avatarHelper scmAuthor 16}}
- {{/gt}}
- </div>
+ <div class="source-line-scm-inner" data-author="{{scmAuthor}}"></div>
{{/ifSCMChanged2}}
</td>