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

16 lines
719 B
Plaintext
Raw Normal View History

2011-10-08 23:36:38 +02:00
%div
%h3
.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.prepend-1
= 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"
2011-10-08 23:36:38 +02:00
= text_field_tag "ssh", @project.url_to_repo, :class => ["ssh_project_url", "one_click_select"]
.clear
2011-10-14 14:22:07 +02:00
- if params[:path]
%h3{:style => "color:#555"} /#{params[:path]}
2011-10-08 23:36:38 +02:00
%div{:id => dom_id(@project)}
= render "commits"