impress/app/views/contributions/_contribution.html.haml

12 lines
534 B
Text
Raw Normal View History

2010-11-06 08:52:58 -07:00
- contributed = contribution.contributed
%li
2010-11-06 08:52:58 -07:00
%span.point-value= contribution.point_value
2012-12-29 23:57:23 -08:00
= t 'contributions.contribution.description_html',
:user_link => link_to(contribution.user.name,
user_contributions_path(contribution.user),
:class => 'username'),
:contributed_description => contributed_description(contributed)
.time-ago
= t 'contributions.contribution.created_at_html',
:created_at_ago => labeled_time_ago_in_words(contribution.created_at)