Commit 3f562027 authored by gitlabhq's avatar gitlabhq

dashboard replaced [event] by tag

parent 78e6dc5f
......@@ -28,6 +28,6 @@ module DashboardHelper
else return "Project Wall"
end
"[#{klass}] #{truncate(sanitize(title, :tags => []), :length => 60)} "
truncate(sanitize(title, :tags => []), :length => 60)
end
end
......@@ -27,13 +27,14 @@
%a.project-update{:href => dashboard_feed_path(project, update)}
= image_tag gravatar_icon(update.author_email), :class => "left", :width => 40
%span.update-title
- if update.kind_of?(Grit::Commit)
%span.right.tag.commit= update.head.name
= dashboard_feed_title(update)
%span.update-author
%strong= update.author_name
authored
= time_ago_in_words(update.created_at)
ago
.right
- klass = update.class.to_s.split("::").last.downcase
%span.tag{ :class => klass }= klass
/ #news-feed
/ #dashboard-content
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment