Skip to content

Commit

Permalink
SAK-46414 Samigo a double image displays and should have been removed…
Browse files Browse the repository at this point in the history
… with isInlineFlash (sakaiproject#9987)
  • Loading branch information
ottenhoff authored Nov 3, 2021
1 parent 9d89871 commit a443346
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@
<embed src=\"#{delivery.protocol}/samigo-app/servlet/ShowAttachmentMedia?resourceId=#{attach.encodedResourceId}&mimeType=#{attach.mimeType}&filename=#{attach.filename}\" volume=\"50\" height=\"350\" width=\"400\" autostart=\"false\"/>" rendered="#{attach.isInlineVideo && !delivery.fromPrint}"/>
<h:outputText value="#{attach.filename}" rendered="#{attach.isInlineVideo && delivery.fromPrint}"/>

<h:outputText escape="false" value="
<embed src=\"#{delivery.protocol}/samigo-app/servlet/ShowAttachmentMedia?resourceId=#{attach.encodedResourceId}&mimeType=#{attach.mimeType}&filename=#{attach.filename}\" height=\"350\" width=\"400\"/>" rendered="#{!delivery.fromPrint}"/>
<h:outputText value="#{attach.filename}" rendered="#{delivery.fromPrint}"/>

<h:outputText escape="false" value="
<img src=\"#{delivery.protocol}/samigo-app/servlet/ShowAttachmentMedia?resourceId=#{attach.encodedResourceId}&mimeType=#{attach.mimeType}&filename=#{attach.filename}\" />" rendered="#{attach.isInlineImage}"/>

Expand Down

0 comments on commit a443346

Please sign in to comment.