From 96fdeb330fbac2dd63f7ed86f15cc21f33c50e2e Mon Sep 17 00:00:00 2001 From: Rodrigo Nascimento Date: Mon, 26 Feb 2018 21:02:52 -0300 Subject: [PATCH] Improve link handling for attachments --- .../client/messageAttachment.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/rocketchat-message-attachments/client/messageAttachment.html b/packages/rocketchat-message-attachments/client/messageAttachment.html index 53dfa169a671..35b9b5ec47f0 100644 --- a/packages/rocketchat-message-attachments/client/messageAttachment.html +++ b/packages/rocketchat-message-attachments/client/messageAttachment.html @@ -10,9 +10,9 @@ {{#if author_icon}} {{/if}} - {{author_name}} + {{author_name}} {{#if ts}} - {{#if message_link}}{{time}}{{else}}{{time}}{{/if}} + {{#if message_link}}{{time}}{{else}}{{time}}{{/if}} {{/if}} {{else}} @@ -22,7 +22,7 @@ {{/if}} {{author_name}} {{#if ts}} - {{#if message_link}}{{time}}{{else}}{{time}}{{/if}} + {{#if message_link}}{{time}}{{else}}{{time}}{{/if}} {{/if}} {{/if}} @@ -30,9 +30,9 @@ {{#if title}}
{{#if title_link}} - {{#if isFile}} {{_ "Attachment_File_Uploaded"}}: {{/if}}{{title}} + {{#if isFile}} {{_ "Attachment_File_Uploaded"}}: {{/if}}{{title}} {{#if title_link_download}} - + {{/if}} {{else}} {{title}}