Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

design update

  • Loading branch information...
commit 08beb315a70025770cac166de52f5e8941bbfa0b 1 parent ed14271
teppei machida authored
View
6 app/assets/stylesheets/sass/parties.css.sass
@@ -166,6 +166,8 @@ body.parties_show
clear: both
overflow-y: auto
height: 100%
+ .comments
+ display: none
.current
+clearfix
.label
@@ -313,7 +315,7 @@ body.parties_show
border: none
+border-radius(4px)
.comments
- .activity
+ .comment
clear: both
padding: 0 0 14px 0
+clearfix
@@ -327,8 +329,6 @@ body.parties_show
display: block
padding: 14px 10px
+word-break
- &:first-child
- padding: 0 10px 14px 10px
&:last-child
border: none
.actions
View
17 app/views/tasks/_task.html.haml
@@ -30,11 +30,12 @@
%p.redo= link_to "redo", redo_party_task_path(@party, task), :remote => true
- if user_signed_in?
- .add
- = form_tag "/comments", :remote => true do
- = hidden_field_tag :task_id, task.id
- = text_area_tag :content, nil, :rows => 3, :cols => 15, :id => "new_comment_#{dom_id(task)}"
- = submit_tag "new comment"
- .comments
- %ul
- = render task.comments
+ .comments
+ .add
+ = form_tag "/comments", :remote => true do
+ = hidden_field_tag :task_id, task.id
+ = text_area_tag :content, nil, :rows => 3, :cols => 15, :id => "new_comment_#{dom_id(task)}"
+ = submit_tag "new comment"
+
+ %ul
+ %li.comment= render task.comments
Please sign in to comment.
Something went wrong with that request. Please try again.