gitlabhq/app/views/commits/index.html.haml

34 lines
906 B
Plaintext
Raw Normal View History

2011-11-01 11:48:26 +01:00
- content_for(:body_class, "project-page commits-page")
2011-11-01 21:11:24 +01:00
.left
= form_tag project_commits_path(@project), :method => :get do
= select_tag "branch", options_for_select(@repo.heads.map(&:name), @branch), :onchange => "this.form.submit();", :class => "", :prompt => "Branches"
.left
= form_tag project_commits_path(@project), :method => :get do
= select_tag "tag", options_for_select(@project.tags, @tag), :onchange => "this.form.submit();", :class => "", :prompt => "Tags"
.clear
%br
-#%a.right.button{:href => "#"} Download
-#-if can? current_user, :admin_project, @project
%a.right.button.blue{:href => "#"} EDIT
%h2.icon
%span
%a.project-name{:href => "#"}
%i.arrow>
Project
 
%d
%a{:href => "#"}
= @ref
2011-10-14 14:22:07 +02:00
- if params[:path]
2011-11-01 21:11:24 +01:00
 
%d
%a{:href => "#"}= params[:path].split("/").join(" / ")
%div{:id => dom_id(@project)}
= render "commits"