Skip to content

Commit

Permalink
Version 3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jshah4517 committed May 11, 2020
1 parent f6be53e commit 51521a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ticket/message.twig
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@
</video>
</div>
<a class="sp-attachment-preview group" data-html="#html5player-{{ attachment.id }}"
data-download-url="{{ attachment.direct_operator_url }}">
data-download-url="{{ attachment.direct_frontend_url }}">
{% else %}
<a class="{% if attachment.upload.isPreviewableImage() %}sp-attachment-preview{% endif %} group"
{% if not attachment.upload.isPreviewableImage() %}target="_blank"{% endif %}
href="{{ attachment.previewFrontendUrl(true) }}"
data-download-url="{{ attachment.direct_frontend_url }}">
{% endif %}
{% else %}
<a class="sp-group" href="{{ route('ticket.frontend.attachment.download', [ attachment.upload_hash ]) }}">
<a class="sp-group" href="{{ attachment.direct_frontend_url }}">
{% endif %}
<div class="sp-preview sp-relative sp-h-20 sp--mx-4 sp--mt-2 sp-mb-2 sp-rounded-t sp-text-center">
<div class="sp-h-20 sp-bg-primary sp-border sp-border-b-0 sp-border-secondary sp-rounded-t
Expand Down

0 comments on commit 51521a7

Please sign in to comment.