Merge pull request #4960 from Flaburgan/polish-conversation-view

Polish conversation view
This commit is contained in:
Jonne Haß 2014-08-27 17:46:29 +02:00
commit 6623fb66a6
3 changed files with 4 additions and 2 deletions

View file

@ -20,6 +20,7 @@ The default for including jQuery from a CDN has changed. If you want to continue
## Bug fixes
* orca cannot see 'Add Contact' button [#5158](https://github.com/diaspora/diaspora/pull/5158)
* Move submit button to the right in conversations view [#4960](https://github.com/diaspora/diaspora/pull/4960)
## Features
* Don't pull jQuery from a CDN by default [#5105](https://github.com/diaspora/diaspora/pull/5105)

View file

@ -30,7 +30,8 @@
= authors[conversation.id].name
.last_message
- if conversation.messages.present?
= '»' + conversation.messages.last.text + '«'
%em
= conversation.messages.last.text
- if other_participants.count > 1
.participants
- other_participants.drop(1).take(15).each do |participant|

View file

@ -27,4 +27,4 @@
.bd
= form_for [conversation, Message.new] do |message|
= message.text_area :text, :class => 'span12', :rows => 5, :tabindex => 1
= message.submit t('.reply').capitalize, 'data-disable-with' => t('.replying'), :class => 'btn btn-primary creation', :tabindex => 2
= message.submit t('.reply').capitalize, 'data-disable-with' => t('.replying'), class: 'btn btn-primary pull-right creation', tabindex: 2