pull/13744/head^2
Kautilya Tripathi 6 years ago committed by Gabriel Engel
parent cb06a45036
commit 603129469c
  1. 2
      app/lib/server/functions/notifications/email.js
  2. 2
      app/message-attachments/client/messageAttachment.html

@ -54,7 +54,7 @@ function getEmailContent({ message, user, room }) {
lng,
});
let content = `${ TAPi18n.__('Attachment_File_Uploaded') }: ${ s.escapeHTML(message.file.name) }`;
let content = `${ s.escapeHTML(message.file.name) }`;
if (message.attachments && message.attachments.length === 1 && message.attachments[0].description !== '') {
content += `<br/><br/>${ s.escapeHTML(message.attachments[0].description) }`;

@ -54,7 +54,7 @@
{{#if title}}
<div class="attachment-title">
{{#if title_link}}
<a href="{{title_link}}" target="_blank" rel="noopener noreferrer">{{#if isFile}} {{_ "Attachment_File_Uploaded"}}: {{/if}}{{title}}</a>
<a href="{{title_link}}" target="_blank" rel="noopener noreferrer">{{title}}</a>
{{#if title_link_download}}
<a class="attachment-download-icon" href="{{title_link}}" target="_blank" download="" rel="noopener noreferrer">{{> icon icon="download"}}</a>
{{/if}}

Loading…
Cancel
Save