summaryrefslogtreecommitdiff
path: root/app/views/dashboard/_merge_requests_feed.html.haml
blob: 22a7e703a318a2d23ea07b94a67cc5aaf45abc35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
%div
  = link_to dashboard_issues_path, :remote => true, :class => "left" do 
    .box-arrow
      ←
  %h2{:style => "width:86%; text-align:center"}
    Merge Requests
  = link_to dashboard_path, :remote => true, :class => "right" do 
    .box-arrow 
      →

#feeds_content_holder
  .project-box.project-updates.ui-box.ui-box-small.ui-box-big
    .data
      - @merge_requests.each do |update|
        %a.project-update{:href => project_merge_request_path(update.project, update)}
          = image_tag gravatar_icon(update.author_email), :class => "left", :width => 40
          %span.update-title
            = truncate update.title, :length => 70
            .right= update.project.name
          %span.update-author
            %strong= update.author_name
            authored
            = time_ago_in_words(update.created_at)
            ago
          .right
            %span.tag.commit= update.source_branch
            →
            %span.tag.commit= update.target_branch