diaspora/app/views/conversations/index.haml
2011-03-03 17:32:26 -08:00

40 lines
1 KiB
Text

-# 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 :inbox
- content_for :page_title do
Message Inbox
:css
footer{ display:none;}
.span-5.append-3
%h3.fixit{:style => 'width:300px;'}
.right
= link_to 'New Message', new_conversation_path, :class => 'button', :rel => 'facebox'
Inbox
%br
%br
%br
#conversation_inbox
- if @conversations.count > 0
.stream.conversations
= render :partial => 'conversations/conversation', :collection => @conversations
= will_paginate @conversations
- else
%i
You have no messages
#conversation_show.span-16.last
- if @conversation
= render 'conversations/show', :conversation => @conversation
- else
#no_conversation_text
no conversation selected
#no_conversation_controls
= link_to 'create a new message', new_conversation_path, :rel => 'facebox'