Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgitlabhq <m@gitlabhq.com>2011-10-09 01:36:38 +0400
committergitlabhq <m@gitlabhq.com>2011-10-09 01:36:38 +0400
commit9ba1224867665844b117fa037e1465bb706b3685 (patch)
tree52fbfc1cdb55df21843965479c97be0c91121a9a /app/views/commits/index.html.haml
parent93efff945215a4407afcaf0cba15ac601b56df0d (diff)
init commit
Diffstat (limited to 'app/views/commits/index.html.haml')
-rw-r--r--app/views/commits/index.html.haml13
1 files changed, 13 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..95579119aee
--- /dev/null
+++ b/app/views/commits/index.html.haml
@@ -0,0 +1,13 @@
+%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"
+ &nbsp;
+ .left.prepend-1
+ = form_tag project_commits_path(@project), :method => :get do
+ = select_tag "tag", options_for_select(@project.tags, @branch), :onchange => "this.form.submit();", :class => "", :prompt => "Tags"
+ = text_field_tag "ssh", @project.url_to_repo, :class => ["ssh_project_url", "one_click_select"]
+ .clear
+ %div{:id => dom_id(@project)}
+ = render "commits"