touch up message inbox view
This commit is contained in:
parent
19911bc856
commit
d74942877f
3 changed files with 36 additions and 39 deletions
|
|
@ -2,18 +2,14 @@
|
||||||
-# licensed under the Affero General Public License version 3 or later. See
|
-# licensed under the Affero General Public License version 3 or later. See
|
||||||
-# the COPYRIGHT file.
|
-# the COPYRIGHT file.
|
||||||
|
|
||||||
|
.conversation_participants
|
||||||
|
.span-14.last
|
||||||
|
.right
|
||||||
|
= link_to(image_tag('deletelabel.png'), conversation_visibility_path(conversation), :method => 'delete', :confirm => "#{t('.delete')}?", :title => t('.delete'))
|
||||||
|
|
||||||
.span-16.last
|
|
||||||
.conversation_participants
|
|
||||||
.span-9
|
|
||||||
%h3{ :class => direction_for(conversation.subject) }
|
%h3{ :class => direction_for(conversation.subject) }
|
||||||
= conversation.subject
|
= conversation.subject
|
||||||
|
|
||||||
.conversation_controls
|
|
||||||
= link_to (image_tag('reply.png', :height => 14, :width => 14) + ' ' + t('.reply')), '#', :id => 'reply_to_conversation'
|
|
||||||
= link_to (image_tag('deletelabel.png') + ' ' + t('.delete').downcase), conversation_visibility_path(conversation), :method => 'delete', :confirm => t('are_you_sure')
|
|
||||||
|
|
||||||
.span-6.avatars.last
|
|
||||||
- for participant in conversation.participants
|
- for participant in conversation.participants
|
||||||
= person_image_link(participant)
|
= person_image_link(participant)
|
||||||
|
|
||||||
|
|
@ -22,7 +18,7 @@
|
||||||
%br
|
%br
|
||||||
%br
|
%br
|
||||||
%br
|
%br
|
||||||
.span-16.last
|
.span-15.last
|
||||||
.stream
|
.stream
|
||||||
= render :partial => 'messages/message', :collection => conversation.messages
|
= render :partial => 'messages/message', :collection => conversation.messages
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,10 @@
|
||||||
%i
|
%i
|
||||||
= t('.no_messages')
|
= t('.no_messages')
|
||||||
|
|
||||||
#conversation_show.span-16.prepend-8.last
|
|
||||||
|
.span-15.prepend-9.last
|
||||||
|
.stream_container
|
||||||
|
#conversation_show
|
||||||
- if @conversation
|
- if @conversation
|
||||||
= render 'conversations/show', :conversation => @conversation
|
= render 'conversations/show', :conversation => @conversation
|
||||||
- else
|
- else
|
||||||
|
|
|
||||||
|
|
@ -2378,14 +2378,21 @@ ul.show_comments,
|
||||||
:margin
|
:margin
|
||||||
:bottom 10px
|
:bottom 10px
|
||||||
|
|
||||||
:-webkit-box-shadow 0 3px 3px -3px #333
|
:-webkit-box-shadow 0 2px 3px -3px #666
|
||||||
:-moz-box-shadow 0 3px 3px -3px #333
|
:-moz-box-shadow 0 2px 3px -3px #666
|
||||||
:box-shadow 0 3px 3px -3px #333
|
:box-shadow 0 2px 3px -3px #666
|
||||||
|
|
||||||
|
.right
|
||||||
|
:top 118px
|
||||||
|
:right 5px
|
||||||
|
|
||||||
h3
|
h3
|
||||||
:margin 0
|
:margin 0
|
||||||
:top 6px
|
:top 6px
|
||||||
:bottom 0px
|
:bottom 0px
|
||||||
|
:padding
|
||||||
|
:bottom 10px
|
||||||
|
|
||||||
.avatar
|
.avatar
|
||||||
:height 30px
|
:height 30px
|
||||||
:width 30px
|
:width 30px
|
||||||
|
|
@ -2402,10 +2409,11 @@ ul.show_comments,
|
||||||
:bottom 10px
|
:bottom 10px
|
||||||
|
|
||||||
:border
|
:border
|
||||||
:bottom 1px solid #666
|
:bottom 1px solid #ddd
|
||||||
:padding 20px
|
:padding 15px
|
||||||
:top 110px
|
:top 101px
|
||||||
:bottom 10px
|
:bottom 10px
|
||||||
|
:width 560px
|
||||||
:margin
|
:margin
|
||||||
:top -100px
|
:top -100px
|
||||||
|
|
||||||
|
|
@ -2496,20 +2504,10 @@ ul.show_comments,
|
||||||
:height 100%
|
:height 100%
|
||||||
:overflow-y auto
|
:overflow-y auto
|
||||||
:overflow-x none
|
:overflow-x none
|
||||||
:background
|
|
||||||
:color #f3f3f3
|
|
||||||
|
|
||||||
#left_pane
|
#left_pane
|
||||||
:position fixed
|
:position fixed
|
||||||
:width 320px
|
:width 337px
|
||||||
:background
|
|
||||||
:color #ddd
|
|
||||||
|
|
||||||
:-webkit-box-shadow 2px 2px 5px -1px #999
|
|
||||||
|
|
||||||
:border
|
|
||||||
:right 1px solid #999
|
|
||||||
:z-index 4
|
|
||||||
|
|
||||||
h3
|
h3
|
||||||
:padding
|
:padding
|
||||||
|
|
@ -2519,7 +2517,7 @@ ul.show_comments,
|
||||||
|
|
||||||
#left_pane_header
|
#left_pane_header
|
||||||
:padding 10px
|
:padding 10px
|
||||||
:height 22px
|
:height 55px
|
||||||
:border
|
:border
|
||||||
:bottom 1px solid #ddd
|
:bottom 1px solid #ddd
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue