forked from OpenNeo/impress
17 lines
472 B
Text
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
|