diaspora/app/views/conversations/index.mobile.haml
theworldbright 98f11b944a Fix styleguide violations
Fix hound remark 12

Remove unnecessary explicit div tag

Rename el_**** to ****El (hound remark 2 and 3)

Only find and replace operations were done with
this commit

Fix hound remark 4 and 8

Fix hound remark 6

Fix hound remark 7

Fix hound remark 9

Fix hound remark 10 and 11

Fix hound remark 13

Fix hound remark 1

Change single quotes to double quotes

Change single quotes to double in publisher view

Fix camelCase and missing {} in publisher view

Change single quotes to double in bookmarklet view

Use dot notation for serializedForm in publisher

Change single quotes to double in bookmarklet spec

Change single quotes to double in publisher spec

Fix missing {} in publisher views

Use ruby 1.9 hash syntax in invite_link

Fix indentation in publisher view
2015-06-04 18:05:44 +02:00

28 lines
912 B
Text

-# Copyright (c) 2010-2012, Diaspora Inc. This file is
-# licensed under the Affero General Public License version 3 or later. See
-# the COPYRIGHT file.
.right
= link_to t('.new_conversation'), new_conversation_path, class: 'btn btn-default'
- flash.each do |name, msg|
%div{ id: "flash_#{name}", class: "expose" }
.message= msg
.stream
%p{ class: "conversation_#{name}" }= msg
%h3
= t('.inbox')
#conversation_inbox
.stream.conversations
- if @conversations.count > 0
= render partial: 'conversations/conversation', collection: @conversations,
locals: { authors: @authors, unread_counts: @unread_counts }
- else
.no-messages
%i
= t('.no_messages')
= will_paginate @conversations, previous_label: '«', next_label: '»', inner_window: 1, outer_window: 0,
renderer: WillPaginate::ActionView::BootstrapLinkRenderer