gitlabhq/app/views/dashboard/_issues_feed.html.haml

21 lines
730 B
Plaintext
Raw Normal View History

2011-12-08 21:17:53 +01:00
#feeds_content_holder
2011-12-08 20:17:53 +01:00
.project-box.project-updates.ui-box.ui-box-small.ui-box-big
.data
- @issues.each do |update|
%a.project-update{:href => dashboard_feed_path(update.project, update)}
= image_tag gravatar_icon(update.author_email), :class => "left", :width => 40
%span.update-title
2011-12-08 21:17:53 +01:00
= truncate update.title, :length => 50
.right= update.project.name
2011-12-08 20:17:53 +01:00
%span.update-author
%strong= update.author_name
authored
= time_ago_in_words(update.created_at)
ago
.right
2011-12-08 21:17:53 +01:00
- if update.critical
%span.tag.high critical
- if update.today?
%span.tag.today today
2011-12-08 20:17:53 +01:00