/endless_tweets/tweet.haml
HAML | 25 lines | 25 code | 0 blank | 0 comment | 0 complexity | e15281c2da135bb3ea3e5806481d86f0 MD5 | raw file
- %li#status_ID.hentry.status.u-USERNAME
- %span.thumb.vcard.author<
- %a.tweet-url.profile-pic.url{ :href => "/USERNAME" }
- %img.photo.fn{ :src => "AVATAR", :height => "48", :alt => "REAL_NAME", :width => "48" }
- %span.status-body
- %img.lock{ :title => "REAL_NAME’s updates are protected— please don’t share!", :src => "http://assets2.twitter.com/images/icon_lock.gif", :alt => "Icon_lock" }
- %strong<
- %a.tweet-url.screen-name{ :href => "/USERNAME", :title => "REAL_NAME" } USERNAME
- %span.actions
- %div
- %a.fav-action.FAV_CLASS#status_star_ID{ :title => "FAV_ACTION this tweet" }
- %span.entry-content TEXT
- %span.meta.entry-meta
- %a.entry-date{ :href => "/USERNAME/status/ID", :rel => "bookmark" }
- %span.published.timestamp{ :title => "CREATED_AT" } CREATED_AGO
- %span from SOURCE
- %a{ :href => "/IN_REPLY_TO/status/IN_REPLY_TO_STATUS" } in reply to IN_REPLY_TO
- %ul.actions-hover<
- %li
- %span.del
- %span.delete-icon.icon>
- %a{ :href => '#', :title => "delete this tweet" }> Delete
- %span.reply
- %span.reply-icon.icon>
- %a{ :href => "/home?status=@USERNAME%20&in_reply_to_status_id=ID&in_reply_to=USERNAME", :title => "reply to USERNAME" }> Reply