summaryrefslogtreecommitdiff
path: root/app/views/repositories/show.html.haml
blob: c72b866b950bbae0102bd20426393369881853fe (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
29
30
31
32
33
= render "head"
%h3
  = @project.name
  - if can? current_user, :download_code, @project
    = link_to "Download", archive_project_repository_path(@project), :class => "btn small right"


%hr
.entry
  %p
    Last commit was 
    %small
      %code= @activities.first.commit.id.to_s[0..10]

    = time_ago_in_words(@activities.first.commit.committed_date)
    ago to 
    = link_to project_commits_path(@project, :ref => @activities.first.head.name), :class => "visible_link" do 
      %span.label= @activities.first.head.name
.alert-message.block-message.warning
  .input
    .input-prepend
      %span.add-on git clone
      = text_field_tag :project_clone, @project.url_to_repo, :class => "xlarge one_click_select git_clone_url"



%h5.cgray
  Recently updated branches

%table.zebra-striped.borders
  - @activities.each do |update|
    = render "repositories/feed", :update => update, :project => @project