FIX: do not show mail-forward icon if not needed

This commit is contained in:
Joffrey JAFFEUX 2018-02-19 09:52:35 +01:00 committed by GitHub
parent a3c7ee09b6
commit b3b6373f77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,11 +38,11 @@ export default Ember.Component.extend({
<a class="post-link" href="${postLink.href}">${postLink.anchor}</a> <a class="post-link" href="${postLink.href}">${postLink.anchor}</a>
${userAvatar} ${userAvatar}
<span class="username">${userLink.anchor}</span> <span class="username">${userLink.anchor}</span>
${iconHTML("mail-forward", { class: "reply-to-glyph" })}
`; `;
if (originalUser) { if (originalUser) {
editTitle += ` editTitle += `
${iconHTML("mail-forward", { class: "reply-to-glyph" })}
${originalUser.avatar} ${originalUser.avatar}
<span class="original-username">${originalUser.username}</span> <span class="original-username">${originalUser.username}</span>
`; `;