projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'mongoose-secure' into 'develop'
[akkoma]
/
lib
/
pleroma
/
web
/
templates
/
static_fe
/
static_fe
/
_attachment.html.eex
diff --git
a/lib/pleroma/web/templates/static_fe/static_fe/_attachment.html.eex
b/lib/pleroma/web/templates/static_fe/static_fe/_attachment.html.eex
index 7e04e9550f20593fe3bfac5c24d25b85c15271c3..4853e7f4b0d69f9b02b4ca244ef0f6ea2d1f6724 100644
(file)
--- a/
lib/pleroma/web/templates/static_fe/static_fe/_attachment.html.eex
+++ b/
lib/pleroma/web/templates/static_fe/static_fe/_attachment.html.eex
@@
-1,8
+1,8
@@
<%= case @mediaType do %>
<% "audio" -> %>
<%= case @mediaType do %>
<% "audio" -> %>
-<audio src="<%= @url %>" controls="controls"></audio>
+<audio
class="u-audio"
src="<%= @url %>" controls="controls"></audio>
<% "video" -> %>
<% "video" -> %>
-<video src="<%= @url %>" controls="controls"></video>
+<video
class="u-video"
src="<%= @url %>" controls="controls"></video>
<% _ -> %>
<% _ -> %>
-<img src="<%= @url %>" alt="<%= @name %>" title="<%= @name %>">
+<img
class="u-photo"
src="<%= @url %>" alt="<%= @name %>" title="<%= @name %>">
<% end %>
<% end %>