31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
%div
|
|
= link_to dashboard_merge_requests_path, :remote => true, :class => "left", :id => "merge_requests_slide" do
|
|
.box-arrow
|
|
←
|
|
%h2{:style => "width:86%; text-align:center"}
|
|
Activities
|
|
= link_to dashboard_issues_path, :remote => true, :class => "right", :id => "issues_slide" do
|
|
.box-arrow
|
|
→
|
|
|
|
#feeds_content_holder
|
|
- @active_projects.first(3).each do |project|
|
|
.project-box.project-updates.ui-box.ui-box-small.ui-box-big
|
|
= link_to project, do
|
|
%h3= project.name
|
|
.data
|
|
- project.updates(3).each do |update|
|
|
%a.project-update{:href => dashboard_feed_path(project, update)}
|
|
= image_tag gravatar_icon(update.author_email), :class => "left", :width => 40
|
|
%span.update-title
|
|
= 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
|
|
|