[% RenderBlockStart("TransmissionStatusMessage") %]
[% IF Data.Status == 'Failed' || Data.Status == 'Processing' %]
[% END %]
[% RenderBlockEnd("TransmissionStatusMessage") %]
[% RenderBlockStart("BrowserLinkMessage") %]
# Show info, that links within the iframe must be clicked with strg/cmd/shift (depending on the used browser and os)
# to open the links in a new window without the security permissions given to the iframe
[% Translate("To open links in the following article, you might need to press Ctrl or Cmd or Shift key while clicking the link (depending on your browser and OS).") | html %]
[% RenderBlockEnd("BrowserLinkMessage") %]
[% IF Config("Frontend::AvatarEngine") == 'Gravatar' && Data.SenderImage %]
[% ELSE %]
[% Data.SenderInitials | html %]
[% END %]
[% PROCESS ArticleActionMenu.tt %]
[% IF Data.HTML %]
# execute IFrame JS asynchronously. Otherwise it could happen before our API was loaded
# the following JS code must be within the template, otherwise it could happen, that also this code itself is not loaded yet
# Use the HTML5 sandbox attribute to prevent plugins and scripts from being executed in the browser.
# Append session info to URL because IE will not send cookies.
# Set 'allow-popups' to allow IE10+ to open links. ref: http://www.w3.org/html/wg/wiki/ChangeProposals/sandbox_allow_popups
[% ELSE %]
[% Data.BodyNote %]
[% Data.Body %]
[% END %]
[% IF Data.ArticleModuleMeta && Data.ArticleModuleMeta.size() %]
[% FOREACH Entry IN Data.ArticleModuleMeta %]
[% END %]
[% END %]
[% IF Data.Attachments && Data.Attachments.size() %]
[% FOREACH Attachment IN Data.Attachments %]
-
[% Attachment.Filename | html %]
[% IF Attachment.ContentType.match('image') %]
[% Translate("Image") | html %]
[% ELSIF Attachment.ContentType == "application/pdf" %]
[% Translate("PDF") | html %]
[% ELSE %]
[% Translate("Unknown") | html %]
[% END %]
–
[% Attachment.FilesizeRaw | Localize("Filesize") %]
[% FOREACH Item IN Attachment.Links %]
[% IF Item.Action == "Download" %]
[% ELSIF Item.Link %]
[% END %]
[% END %]
[% END %]
[% END %]