Created
September 6, 2012 18:26
-
-
Save ArionHardison/3659215 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- if current_user | |
%div{:id => "user_notes" , :class => :user_notes} | |
.notes_top | |
= image_tag("icons/white/[email protected]" , :height => 35 , :id => "note" , :style => "margin-top: 8.5px; opacity: 1.0;") | |
.notes_icn | |
.notes | |
.section_title{:style => "background-color: #fc7a6c; border-left: 1px solid #fff; border-right: 1px solid #fff; border-top: 1px solid #fff; text-align: left; padding-left: 10px; font-size: 12px; padding-top: 7px; font-weight: bold; height: 30px;"} | |
= "Notes for: #{current_user.name}" | |
- if current_user.received_notes.size > 0 | |
.the_notes | |
%ul{:style => "margin-bottom: 0px;"} | |
= render current_user.received_notes | |
.view_all_link{:style => "background-color: #a9a9a9; color: #fff; border: 1px solid #fff; font-size: 12px;"} | |
= link_to "- view all notes -" , user_notes_path(current_user) , :rel => :facebox , :style => "color: #fff;" | |
- else | |
.loading{:style => "text-align: center;"} | |
= "- you have no notes - " | |
.notes_spc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment