Make photos display inline on StatusMessage#show

This commit is contained in:
Dan Hansen 2011-04-27 17:06:26 -05:00
parent d28a2cdb1e
commit c1366e0e04
2 changed files with 3 additions and 3 deletions

View file

@ -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)

View file

@ -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");