diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-02-08 01:00:49 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-02-08 01:00:49 +0200 |
commit | 4d89322d6785580e9a77e2536b8f2a7db8482664 (patch) | |
tree | 79e80598cecf1410440410590657a3388307ace6 /app/views/repositories/show.html.haml | |
parent | 3d77183c160c57f51f1908bd57312344e34c8524 (diff) | |
download | gitlab-ce-4d89322d6785580e9a77e2536b8f2a7db8482664.tar.gz |
Snippets - fixed after bootstrap
Project - restyled show page, removed info page
Repository - restyled show page, added download option
Tags - added download options
Diffstat (limited to 'app/views/repositories/show.html.haml')
-rw-r--r-- | app/views/repositories/show.html.haml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/app/views/repositories/show.html.haml b/app/views/repositories/show.html.haml index 91dd8ee663d..c92ad48acb6 100644 --- a/app/views/repositories/show.html.haml +++ b/app/views/repositories/show.html.haml @@ -1,4 +1,31 @@ = 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 +.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" + + +%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 + = @activities.first.head.name + +%h4.cgray + Recent Branches + %ul.unstyled - @activities.each do |update| = render "repositories/feed", :update => update, :project => @project |