Revision 442:753f1380d6bc app/views/calendars

View differences:

app/views/calendars/.svn/all-wcprops
1
K 25
2
svn:wc:ra_dav:version-url
3
V 44
4
/svn/!svn/ver/4911/trunk/app/views/calendars
5
END
6
show.html.erb
7
K 25
8
svn:wc:ra_dav:version-url
9
V 58
10
/svn/!svn/ver/4911/trunk/app/views/calendars/show.html.erb
11
END
app/views/calendars/.svn/entries
1 1
10
2 2

  
3 3
dir
4
4993
5
http://redmine.rubyforge.org/svn/trunk/app/views/calendars
4
6000
5
http://redmine.rubyforge.org/svn/branches/1.2-stable/app/views/calendars
6 6
http://redmine.rubyforge.org/svn
7 7

  
8 8

  
9 9

  
10
2011-02-21T14:02:22.565987Z
11
4911
10
2011-04-01T14:34:44.070899Z
11
5276
12 12
jplang
13 13

  
14 14

  
......
32 32

  
33 33

  
34 34

  
35
2011-03-03T11:40:18.000000Z
36
7da8933c1cb08241ebe459d9cabe8043
37
2011-02-21T14:02:22.565987Z
38
4911
35
2011-06-06T13:18:33.000000Z
36
ab4018273a0ea22e0fb58209d1f88be7
37
2011-04-01T14:34:44.070899Z
38
5276
39 39
jplang
40 40
has-props
41 41

  
......
58 58

  
59 59

  
60 60

  
61
2007
61
1686
62 62

app/views/calendars/.svn/text-base/show.html.erb.svn-base
1 1
<h2><%= @query.new_record? ? l(:label_calendar) : h(@query.name) %></h2>
2 2

  
3
<% form_tag(calendar_path, :method => :put, :id => 'query_form') do %>
4
  <%= hidden_field_tag('project_id', @project.to_param) if @project%>
3
<% form_tag({:controller => 'calendars', :action => 'show', :project_id => @project}, :method => :get, :id => 'query_form') do %>
4
<%= hidden_field_tag 'set_filter', '1' %>
5 5
<fieldset id="filters" class="collapsible <%= @query.new_record? ? "" : "collapsed" %>">
6 6
  <legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>
7 7
  <div style="<%= @query.new_record? ? "" : "display: none;" %>">
......
10 10
</fieldset>
11 11

  
12 12
<p style="float:right;">
13
  <%= link_to_previous_month(@year, @month, :project => @project) %> | <%= link_to_next_month(@year, @month, :project => @project) %>
13
  <%= link_to_previous_month(@year, @month) %> | <%= link_to_next_month(@year, @month) %>
14 14
</p>
15 15

  
16 16
<p class="buttons">
......
19 19
<%= label_tag('year', l(:label_year)) %>
20 20
<%= select_year(@year, :prefix => "year", :discard_type => true) %>
21 21

  
22
<%= link_to_remote l(:button_apply), 
23
                   { :url => { :set_filter => 1 },
24
                     :update => "content",
25
                     :with => "Form.serialize('query_form')"
26
                   }, :class => 'icon icon-checked' %>
27
                   
28
<%= link_to_remote l(:button_clear),
29
                   { :url => { :project_id => @project, :set_filter => 1 }, 
30
                     :method => :put,
31
                     :update => "content",
32
                   }, :class => 'icon icon-reload' %>
22
<%= link_to_function l(:button_apply), '$("query_form").submit()', :class => 'icon icon-checked' %>
23
<%= link_to l(:button_clear), { :project_id => @project, :set_filter => 1 }, :class => 'icon icon-reload' %>
33 24
</p>
34 25
<% end %>
35 26

  
app/views/calendars/show.html.erb
1 1
<h2><%= @query.new_record? ? l(:label_calendar) : h(@query.name) %></h2>
2 2

  
3
<% form_tag(calendar_path, :method => :put, :id => 'query_form') do %>
4
  <%= hidden_field_tag('project_id', @project.to_param) if @project%>
3
<% form_tag({:controller => 'calendars', :action => 'show', :project_id => @project}, :method => :get, :id => 'query_form') do %>
4
<%= hidden_field_tag 'set_filter', '1' %>
5 5
<fieldset id="filters" class="collapsible <%= @query.new_record? ? "" : "collapsed" %>">
6 6
  <legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>
7 7
  <div style="<%= @query.new_record? ? "" : "display: none;" %>">
......
10 10
</fieldset>
11 11

  
12 12
<p style="float:right;">
13
  <%= link_to_previous_month(@year, @month, :project => @project) %> | <%= link_to_next_month(@year, @month, :project => @project) %>
13
  <%= link_to_previous_month(@year, @month) %> | <%= link_to_next_month(@year, @month) %>
14 14
</p>
15 15

  
16 16
<p class="buttons">
......
19 19
<%= label_tag('year', l(:label_year)) %>
20 20
<%= select_year(@year, :prefix => "year", :discard_type => true) %>
21 21

  
22
<%= link_to_remote l(:button_apply), 
23
                   { :url => { :set_filter => 1 },
24
                     :update => "content",
25
                     :with => "Form.serialize('query_form')"
26
                   }, :class => 'icon icon-checked' %>
27
                   
28
<%= link_to_remote l(:button_clear),
29
                   { :url => { :project_id => @project, :set_filter => 1 }, 
30
                     :method => :put,
31
                     :update => "content",
32
                   }, :class => 'icon icon-reload' %>
22
<%= link_to_function l(:button_apply), '$("query_form").submit()', :class => 'icon icon-checked' %>
23
<%= link_to l(:button_clear), { :project_id => @project, :set_filter => 1 }, :class => 'icon icon-reload' %>
33 24
</p>
34 25
<% end %>
35 26

  

Also available in: Unified diff