Permalink
Browse files

DG RY; moved actions to the bottom of the show pages; fixed arrows

  • Loading branch information...
1 parent 653e93f commit ead286bf9933a79f552dc9457e8b8703d439c0fc @danielgrippi danielgrippi committed Feb 18, 2012
@@ -14,46 +14,30 @@
= person_image_link @post.author
.bd
= person_link(@post.author, :class => 'author-name')
-
.post-time
%i.icon-time
= time_ago_in_words(@post.created_at) + ' ago'
- .post-vitals
- %span
- %i.icon-heart
- = @post.likes.size
-
- %span
- %i.icon-plus
- = @post.participations.size
-
- %span
- %i.icon-retweet
- = @post.reshares.size
-
- %span
- %i.icon-comment
- = @post.comments.size
+#post-content
- - if current_user
- #user-controls
- = link_to "#", :class => "label" do
- %i.icon-heart.icon-white
+- if current_user
+ #user-controls
+ = link_to "#", :class => "label", do
+ %i.icon-user.icon-white
- = link_to "#", :class => "label" do
- %i.icon-plus.icon-white
+ = link_to "#", :class => "label" do
+ %i.icon-heart.icon-white
- = link_to "#", :class => "label" do
- %i.icon-retweet.icon-white
+ = link_to "#", :class => "label" do
+ %i.icon-plus.icon-white
- = link_to "#", :class => "label", do
- %i.icon-comment.icon-white
+ = link_to "#", :class => "label" do
+ %i.icon-retweet.icon-white
- = link_to person_image_tag(current_user.person), root_path
+ = link_to "#", :class => "label", do
+ %i.icon-comment.icon-white
-#post-content
= link_to image_tag('arrow-left.png'), '#', :class => 'nav-arrow left', :id => 'back'
= link_to image_tag('arrow-right.png'), '#', :class => 'nav-arrow right', :id => 'forward'
Oops, something went wrong.

0 comments on commit ead286b

Please sign in to comment.