show.html.haml 770 Bytes
Newer Older
gitlabhq's avatar
gitlabhq committed
1
%div
gitlabhq's avatar
gitlabhq committed
2
  %h2.left History
gitlabhq's avatar
gitlabhq committed
3
4
5
  .right
    = form_tag project_path(@project), :method => :get do
      .span-2
gitlabhq's avatar
gitlabhq committed
6
7
8
9
        = radio_button_tag :view, "recent", (params[:view] || "recent") == "recent", :onclick => "this.form.submit()", :id => "recent_view"
        = label_tag "recent_view","Recent"
      .span-2
        = radio_button_tag :view, "day", params[:view] == "day", :onclick => "this.form.submit()", :id => "day_view"
gitlabhq's avatar
gitlabhq committed
10
        = label_tag "day_view","Today"
gitlabhq's avatar
gitlabhq committed
11
12
13
14
      .span-2
        = radio_button_tag :view, "week", params[:view] == "week", :onclick => "this.form.submit()", :id => "week_view"
        = label_tag "week_view","Week"
  .clear
gitlabhq's avatar
gitlabhq committed
15
16
  %hr
.span-11
gitlabhq's avatar
gitlabhq committed
17
18
19
20
  %h3 Commits
  =render "projects/recent_commits"

.span-11.right
gitlabhq's avatar
gitlabhq committed
21
  %h3 Talk
gitlabhq's avatar
gitlabhq committed
22
  =render "projects/recent_messages"
gitlabhq's avatar
gitlabhq committed
23