From 4037ce48c56ccefcd0da3bae0e53f6c9a624e737 Mon Sep 17 00:00:00 2001 From: Raphael Sofaer <raphael@joindiaspora.com> Date: Tue, 5 Apr 2011 12:12:05 -0700 Subject: [PATCH] Delete unused show templates --- app/views/aspects/show.html.haml | 31 ------------------------------ app/views/aspects/show.js.erb | 1 - app/views/aspects/show.mobile.haml | 13 ------------- 3 files changed, 45 deletions(-) delete mode 100644 app/views/aspects/show.html.haml delete mode 100644 app/views/aspects/show.js.erb delete mode 100644 app/views/aspects/show.mobile.haml diff --git a/app/views/aspects/show.html.haml b/app/views/aspects/show.html.haml deleted file mode 100644 index e103ea15c0..0000000000 --- a/app/views/aspects/show.html.haml +++ /dev/null @@ -1,31 +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. - - -- content_for :head do - = include_javascripts :aspects - -- content_for :page_title do - = @aspect.name.html_safe - -.span-24.last - %h2{:style=>"position:relative;margin-bottom:0;"} - = @aspect - - %span.aspect_contact_count{:style=>"color:#999;font-size:14px;"} - = t('contacts', :count=>@aspect_contacts_count) - = link_to t('.edit_aspect'), "#", :id => "edit_aspect_trigger" - -.span-8.append-1 - = render 'aspects/aspect_contacts', :contacts => @aspect_contacts, :aspect => @aspect - = render 'aspects/edit_aspect_pane', :contacts => @all_contacts, :aspect => @aspect - moms -.span-15.last - = render 'shared/publisher', :aspect => @aspect, :aspect_ids => @aspect_ids - - #main_stream.stream{:data => {:guids => @aspect.id}} - = render 'shared/stream', :posts => @posts - %a.paginate - = t("more") - =will_paginate @posts diff --git a/app/views/aspects/show.js.erb b/app/views/aspects/show.js.erb deleted file mode 100644 index 7d2f1b8cd2..0000000000 --- a/app/views/aspects/show.js.erb +++ /dev/null @@ -1 +0,0 @@ -$('#main_stream').html("<%= escape_javascript(render('shared/stream', :posts => @posts)) %>"); diff --git a/app/views/aspects/show.mobile.haml b/app/views/aspects/show.mobile.haml deleted file mode 100644 index 77a9be5de8..0000000000 --- a/app/views/aspects/show.mobile.haml +++ /dev/null @@ -1,13 +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. - -= render 'shared/publisher', :aspect => @aspect, :aspect_ids => @aspect_ids - -= render 'shared/stream', :posts => @posts - -#pagination - = will_paginate @posts - -- content_for :subpages do - = render 'shared/publisher', :aspect_ids => @aspect_ids -- GitLab