Make photos display inline on StatusMessage#show
This commit is contained in:
parent
d28a2cdb1e
commit
c1366e0e04
2 changed files with 3 additions and 3 deletions
|
|
@ -12,7 +12,7 @@
|
|||
= markdownify(@status_message.text, :youtube_maps => @status_message[:youtube_titles])
|
||||
|
||||
- for photo in @status_message.photos
|
||||
.thumb_small= link_to (image_tag photo.url(:thumb_small)), photo_path(photo)
|
||||
= link_to (image_tag photo.url(:thumb_small), :class => 'thumb_small'), photo_path(photo)
|
||||
|
||||
%p.time
|
||||
= how_long_ago(@status_message)
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ var WebSocketReceiver = {
|
|||
ws.onmessage = WSR.onMessage;
|
||||
ws.onclose = function() {
|
||||
Diaspora.widgets.alert.alert(
|
||||
Diaspora.widgets.i18n.t("web_socket.disconnected.title"),
|
||||
Diaspora.widgets.i18n.t("web_socket.disconnected.body")
|
||||
Diaspora.widgets.i18n.t("web_sockets.disconnected.title"),
|
||||
Diaspora.widgets.i18n.t("web_sockets.disconnected.body")
|
||||
);
|
||||
|
||||
WSR.debug("socket closed");
|
||||
|
|
|
|||
Loading…
Reference in a new issue