summaryrefslogtreecommitdiff
path: root/app/views/projects/_show.html.haml
blob: c6755fa730adf36d37fd36edf6435918d090b2a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
%h5.title
  = @project.name
%br
%div
  %a.btn.info{:href => tree_project_ref_path(@project, @project.root_ref)} Browse code
   
  %a.btn{:href => project_commits_path(@project)} Commits
  %strong.right
    = link_to project_path(@project) do
      Switch to project →
%br
.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"

= simple_format @project.description
- unless @events.blank?
  %h4.middle_title Recent Activity
  .content_list= render @events