diaspora/app/views/aspects/_aspect_stream.haml
2011-02-19 11:39:28 +01:00

16 lines
638 B
Text

-# 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
.prepend-11
= t('.sort_by')
= link_to_if(params[:created_at], t('.activity'), aspects_path(:a_ids => params[:a_ids]))
|
= link_to_unless(params[:created_at], t('.post_time'), aspects_path(:a_ids => params[:a_ids], :created_at => true ))
#main_stream.stream{:data => {:guids => aspect_ids.join(',')}}
= render 'shared/stream', :posts => fakes
%a.paginate
= t("more")
= will_paginate posts