2011-12-30 21:56:13 +01:00
|
|
|
= render "head"
|
2012-02-08 00:00:49 +01:00
|
|
|
%h3
|
|
|
|
= @project.name
|
|
|
|
- if can? current_user, :download_code, @project
|
|
|
|
= link_to "Download", archive_project_repository_path(@project), :class => "btn small right"
|
|
|
|
|
|
|
|
|
|
|
|
%hr
|
2012-02-18 13:12:48 +01:00
|
|
|
.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
|
2012-02-08 00:00:49 +01:00
|
|
|
.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"
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-02-18 14:59:01 +01:00
|
|
|
%h5.cgray
|
|
|
|
Recently updated branches
|
2012-02-08 00:00:49 +01:00
|
|
|
|
2012-02-18 14:59:01 +01:00
|
|
|
%table.zebra-striped.borders
|
|
|
|
- @activities.each do |update|
|
|
|
|
= render "repositories/feed", :update => update, :project => @project
|
2012-01-04 07:17:41 +01:00
|
|
|
|