diff options
Diffstat (limited to 'app/views/status_messages')
-rw-r--r-- | app/views/status_messages/destroy.js.erb | 2 | ||||
-rw-r--r-- | app/views/status_messages/show.html.haml | 11 | ||||
-rw-r--r-- | app/views/status_messages/show.mobile.haml | 25 |
3 files changed, 0 insertions, 38 deletions
diff --git a/app/views/status_messages/destroy.js.erb b/app/views/status_messages/destroy.js.erb deleted file mode 100644 index d34c42e25..000000000 --- a/app/views/status_messages/destroy.js.erb +++ /dev/null @@ -1,2 +0,0 @@ -var target = $(".stream_element[data-guid=<%= escape_javascript(@status_message.id.to_s) %>]") -target.hide('blind', { direction: 'vertical' }, 300, function(){ target.remove() }); diff --git a/app/views/status_messages/show.html.haml b/app/views/status_messages/show.html.haml deleted file mode 100644 index defca25ad..000000000 --- a/app/views/status_messages/show.html.haml +++ /dev/null @@ -1,11 +0,0 @@ --# Copyright (c) 2010, Diaspora Inc. This file is --# licensed under the Affero General Public License version 3 or later. See --# the COPYRIGHT file. - -.span-20.append-2.prepend-2.last - .stream_container - #main_stream.stream.status_message_show - = render 'shared/stream_element', :post => @status_message, :all_aspects => @status_message.aspects - %br - %br - %br diff --git a/app/views/status_messages/show.mobile.haml b/app/views/status_messages/show.mobile.haml deleted file mode 100644 index 24d7b0537..000000000 --- a/app/views/status_messages/show.mobile.haml +++ /dev/null @@ -1,25 +0,0 @@ --# Copyright (c) 2010, Diaspora Inc. This file is --# licensed under the Affero General Public License version 3 or later. See --# the COPYRIGHT file. - -#show_content{:data=>{:guid=>@status_message.id}} - = render 'shared/author_info', :person => @status_message.author, :post => @status_message - - %p - = markdownify(@status_message.text, :youtube_maps => @status_message[:youtube_titles]) - - - for photo in @status_message.photos - = link_to (image_tag photo.url(:thumb_small), :class => 'thumb_small'), photo.url(:thumb_medium) - - .info - %span.time - = t('ago', :time => time_ago_in_words(@status_message.created_at)) - - %br - - if current_user.owns? @status_message - = link_to t('delete'), @status_message, :confirm => t('are_you_sure'), :method => :delete - - else - = link_to t('hide'), post_visibility_path(:id => "42", :post_id => @status_message.id), :confirm => t('are_you_sure'), :method => :put, :remote => true - -.stream.show{:data=>{:guid=>@status_message.id}} - = render "comments/comments", :post => @status_message, :comments => @status_message.comments, :always_expanded => true |