Polish conversation view

This commit is contained in:
Flaburgan 2014-05-16 13:04:32 +02:00
parent f1ab434b18
commit b83295b4e4
2 changed files with 3 additions and 2 deletions

View file

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

View file

@ -27,4 +27,4 @@
.bd .bd
= form_for [conversation, Message.new] do |message| = form_for [conversation, Message.new] do |message|
= message.text_area :text, :class => 'span12', :rows => 5, :tabindex => 1 = 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