1
0
Fork 0
forked from OpenNeo/impress
impress/app/views/contributions/index.html.haml
2010-11-06 11:57:22 -04:00

17 lines
472 B
Text

- title 'Recent Contributions'
%ul.buttons
- if @user
%li= link_to 'Recent Contributions', contributions_path, :class => 'button'
%li= link_to 'Top Contributors', top_contributors_path, :class => 'button'
- if @user
%p
= @user.name
currently has
= @user.points
points
- if @contributions.empty?
%p No contributions to see here!
- else
= will_paginate @contributions
%ul.contributions= render @contributions
= will_paginate @contributions