Skip to content

Commit

Permalink
Atom link.
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkie committed Mar 24, 2011
1 parent 9c28ed7 commit 9bc71bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 4 additions & 6 deletions views/_updates.haml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,13 @@
.reply
-# when @timeline is true, this is a list on the user's page
-unless @timeline.nil?
%a{:href => "javascript:share('#{update.author.username}', '#{update.id}')"}="share"
%a{:href => "javascript:share('#{update.author.username}', '#{update.id}')"} share
|
%a{:href => "javascript:reply('#{update.author.username}')"}
reply
%a{:href => "javascript:reply('#{update.author.username}')"} reply
-else
%a{:href => "/?share=#{update.id}"}="share"
%a{:href => "/?share=#{update.id}"} share
|
%a{:href => "/?reply=#{update.author.username}"}
reply
%a{:href => "/?reply=#{update.author.username}"} reply
- if updates.empty?
.empty
There's no updates here yet
3 changes: 3 additions & 0 deletions views/layout.haml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
.links
%a{:href => "/follow"} Would you like to follow someone not on rstat.us?

.links
%a{:href => "/feeds/#{current_user.feed.id}.atom"} Atom

.logout
%a{:href => "/logout"}
Logout
Expand Down

0 comments on commit 9bc71bb

Please sign in to comment.