summaryrefslogtreecommitdiff
path: root/app/views/commits/_index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/commits/_index.html.haml')
-rw-r--r--app/views/commits/_index.html.haml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/commits/_index.html.haml b/app/views/commits/_index.html.haml
new file mode 100644
index 00000000000..e4c9cc6e83c
--- /dev/null
+++ b/app/views/commits/_index.html.haml
@@ -0,0 +1,9 @@
+= form_tag project_commits_path(@project), :method => :get do
+ %h3
+ = @project.name
+ [ #{select_tag "branch", options_for_select(@repo.heads.map(&:name), @branch), :onchange => "this.form.submit();", :class => "small"} ]
+= link_to 'Back', project_path(@project), :class => "button"
+%h1 Listing commits
+%div{:id => dom_id(@project)}
+ = render "commits"
+%br/ \ No newline at end of file