Revision 442:753f1380d6bc app/views

View differences:

app/views/.svn/all-wcprops
1 1
K 25
2 2
svn:wc:ra_dav:version-url
3
V 34
4
/svn/!svn/ver/4983/trunk/app/views
3
V 48
4
/svn/!svn/ver/5961/branches/1.2-stable/app/views
5 5
END
app/views/.svn/entries
1 1
10
2 2

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

  
8 8

  
9 9

  
10
2011-03-01T10:27:51.597350Z
11
4983
12
tmaruyama
10
2011-05-29T12:06:05.086159Z
11
5961
12
jplang
13 13

  
14 14

  
15 15

  
app/views/account/.svn/entries
1 1
10
2 2

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

  
8 8

  
......
32 32

  
33 33

  
34 34

  
35
2011-03-03T11:05:11.000000Z
35
2011-06-06T13:14:59.000000Z
36 36
232ce32581d2f869b81c300244decff5
37 37
2010-01-28T18:54:51.800438Z
38 38
3341
......
66 66

  
67 67

  
68 68

  
69
2011-03-03T11:05:11.000000Z
69
2011-06-06T13:14:59.000000Z
70 70
cf3d603bbb4825640988086c7871c165
71 71
2007-09-22T13:17:49.935719Z
72 72
747
......
100 100

  
101 101

  
102 102

  
103
2011-03-03T11:05:11.000000Z
103
2011-06-06T13:14:59.000000Z
104 104
82c6920dc6c95e35b0248de4be82885b
105 105
2009-04-21T13:43:57.529967Z
106 106
2678
......
134 134

  
135 135

  
136 136

  
137
2011-03-03T11:05:11.000000Z
137
2011-06-06T13:14:59.000000Z
138 138
72b586f183037fcab519bc7575d3b2b5
139 139
2010-03-03T20:21:05.265018Z
140 140
3530
app/views/activities/.svn/entries
1 1
10
2 2

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

  
8 8

  
9 9

  
10
2010-08-27T14:05:54.014502Z
11
4047
12
edavis10
10
2011-04-03T14:01:32.419875Z
11
5301
12
jplang
13 13

  
14 14

  
15 15

  
......
32 32

  
33 33

  
34 34

  
35
2011-03-03T11:05:11.000000Z
36
9e6d9091be2c8769f8e262500d974f84
37
2010-08-27T14:05:54.014502Z
38
4047
39
edavis10
35
2011-06-06T13:18:33.000000Z
36
842302ab754ce754f88204a7074c4b9d
37
2011-04-03T14:01:32.419875Z
38
5301
39
jplang
40 40
has-props
41 41

  
42 42

  
......
58 58

  
59 59

  
60 60

  
61
3266
61
2936
62 62

app/views/activities/.svn/text-base/index.html.erb.svn-base
21 21
<%= content_tag('p', l(:label_no_data), :class => 'nodata') if @events_by_day.empty? %>
22 22

  
23 23
<div style="float:left;">
24
<%= link_to_remote(('&#171; ' + l(:label_previous)), 
25
                   {:update => "content", :url => params.merge(:from => @date_to - @days - 1), :method => :get, :complete => 'window.scrollTo(0,0)'},
26
                   {:href => url_for(params.merge(:from => @date_to - @days - 1)),
27
                    :title => l(:label_date_from_to, :start => format_date(@date_to - 2*@days), :end => format_date(@date_to - @days - 1))}) %>
24
<%= link_to_content_update('&#171; ' + l(:label_previous), 
25
                   params.merge(:from => @date_to - @days - 1),
26
                   :title => l(:label_date_from_to, :start => format_date(@date_to - 2*@days), :end => format_date(@date_to - @days - 1))) %>
28 27
</div>
29 28
<div style="float:right;">
30
<%= link_to_remote((l(:label_next) + ' &#187;'), 
31
                   {:update => "content", :url => params.merge(:from => @date_to + @days - 1), :method => :get, :complete => 'window.scrollTo(0,0)'},
32
                   {:href => url_for(params.merge(:from => @date_to + @days - 1)),
33
                    :title => l(:label_date_from_to, :start => format_date(@date_to), :end => format_date(@date_to + @days - 1))}) unless @date_to >= Date.today %>
29
<%= link_to_content_update(l(:label_next) + ' &#187;', 
30
                   params.merge(:from => @date_to + @days - 1),
31
                   :title => l(:label_date_from_to, :start => format_date(@date_to), :end => format_date(@date_to + @days - 1))) unless @date_to >= Date.today %>
34 32
</div>
35 33
&nbsp;
36 34
<% other_formats_links do |f| %>
app/views/activities/index.html.erb
21 21
<%= content_tag('p', l(:label_no_data), :class => 'nodata') if @events_by_day.empty? %>
22 22

  
23 23
<div style="float:left;">
24
<%= link_to_remote(('&#171; ' + l(:label_previous)), 
25
                   {:update => "content", :url => params.merge(:from => @date_to - @days - 1), :method => :get, :complete => 'window.scrollTo(0,0)'},
26
                   {:href => url_for(params.merge(:from => @date_to - @days - 1)),
27
                    :title => l(:label_date_from_to, :start => format_date(@date_to - 2*@days), :end => format_date(@date_to - @days - 1))}) %>
24
<%= link_to_content_update('&#171; ' + l(:label_previous), 
25
                   params.merge(:from => @date_to - @days - 1),
26
                   :title => l(:label_date_from_to, :start => format_date(@date_to - 2*@days), :end => format_date(@date_to - @days - 1))) %>
28 27
</div>
29 28
<div style="float:right;">
30
<%= link_to_remote((l(:label_next) + ' &#187;'), 
31
                   {:update => "content", :url => params.merge(:from => @date_to + @days - 1), :method => :get, :complete => 'window.scrollTo(0,0)'},
32
                   {:href => url_for(params.merge(:from => @date_to + @days - 1)),
33
                    :title => l(:label_date_from_to, :start => format_date(@date_to), :end => format_date(@date_to + @days - 1))}) unless @date_to >= Date.today %>
29
<%= link_to_content_update(l(:label_next) + ' &#187;', 
30
                   params.merge(:from => @date_to + @days - 1),
31
                   :title => l(:label_date_from_to, :start => format_date(@date_to), :end => format_date(@date_to + @days - 1))) unless @date_to >= Date.today %>
34 32
</div>
35 33
&nbsp;
36 34
<% other_formats_links do |f| %>
app/views/admin/.svn/all-wcprops
1
K 25
2
svn:wc:ra_dav:version-url
3
V 54
4
/svn/!svn/ver/5878/branches/1.2-stable/app/views/admin
5
END
app/views/admin/.svn/entries
1 1
10
2 2

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

  
8 8

  
9 9

  
10
2010-10-22T15:11:04.321155Z
11
4271
12
jplang
10
2011-04-28T12:35:25.773529Z
11
5562
12
tmaruyama
13 13

  
14 14

  
15 15

  
......
32 32

  
33 33

  
34 34

  
35
2011-03-03T11:05:11.000000Z
36
a7b3d0461b8dac7e68d5b758e6b93b45
37
2009-12-19T20:33:24.113306Z
38
3200
39
jplang
35
2011-06-06T13:18:33.000000Z
36
7890b8a0425776aeb77070710f89d8ce
37
2011-04-28T12:35:25.773529Z
38
5562
39
tmaruyama
40 40
has-props
41 41

  
42 42

  
......
58 58

  
59 59

  
60 60

  
61
456
61
498
62 62

63 63
plugins.rhtml
64 64
file
......
66 66

  
67 67

  
68 68

  
69
2011-03-03T11:05:11.000000Z
69
2011-06-06T13:14:59.000000Z
70 70
aacfd3ff934f52585eba4f460f52df31
71 71
2008-11-16T17:12:02.001794Z
72 72
2041
......
100 100

  
101 101

  
102 102

  
103
2011-03-03T11:05:11.000000Z
103
2011-06-06T13:14:59.000000Z
104 104
a2dcf50c0d70604e64f18cd28f15280b
105 105
2010-08-04T00:38:22.739166Z
106 106
3909
......
134 134

  
135 135

  
136 136

  
137
2011-03-03T11:05:11.000000Z
137
2011-06-06T13:14:59.000000Z
138 138
8db715728d1f5851c242e085110f2bb6
139 139
2008-01-05T11:33:49.132886Z
140 140
1040
......
168 168

  
169 169

  
170 170

  
171
2011-03-03T11:05:11.000000Z
171
2011-06-06T13:14:59.000000Z
172 172
35378eb3f0e385475e3bd0586f22324a
173 173
2009-12-17T18:21:02.630202Z
174 174
3176
......
202 202

  
203 203

  
204 204

  
205
2011-03-03T11:05:11.000000Z
206
9aaefdc17951db18479f38fb0db73ea7
207
2010-10-22T15:11:04.321155Z
208
4271
205
2011-06-06T13:18:33.000000Z
206
9b6daf583836b76e9183e9e125ca7ced
207
2011-03-16T18:23:51.946930Z
208
5151
209 209
jplang
210 210
has-props
211 211

  
......
228 228

  
229 229

  
230 230

  
231
2136
231
2247
232 232

app/views/admin/.svn/text-base/info.rhtml.svn-base
4 4

  
5 5
<table class="list">
6 6
<% @checklist.each do |label, result| %>
7
	<tr class="<%= cycle 'odd', 'even' %>">
8
		<td><%= l(label) %></td>
9
		<td width="30px"><%= image_tag((result ? 'true.png' : 'exclamation.png'), :style => "vertical-align:bottom;") %></td>
10
	</tr>
7
  <tr class="<%= cycle 'odd', 'even' %>">
8
    <td><%= l(label) %></td>
9
    <td width="30px"><%= image_tag((result ? 'true.png' : 'exclamation.png'),
10
                                    :style => "vertical-align:bottom;") %></td>
11
  </tr>
11 12
<% end %>
12 13
</table>
13 14

  
app/views/admin/.svn/text-base/projects.rhtml.svn-base
11 11
<label><%= l(:label_project) %>:</label>
12 12
<%= text_field_tag 'name', params[:name], :size => 30 %>
13 13
<%= submit_tag l(:button_apply), :class => "small", :name => nil %>
14
<%= link_to l(:button_clear), {:controller => 'admin', :action => 'projects'}, :class => 'icon icon-reload' %>
14 15
</fieldset>
15 16
<% end %>
16 17
&nbsp;
app/views/admin/info.rhtml
4 4

  
5 5
<table class="list">
6 6
<% @checklist.each do |label, result| %>
7
	<tr class="<%= cycle 'odd', 'even' %>">
8
		<td><%= l(label) %></td>
9
		<td width="30px"><%= image_tag((result ? 'true.png' : 'exclamation.png'), :style => "vertical-align:bottom;") %></td>
10
	</tr>
7
  <tr class="<%= cycle 'odd', 'even' %>">
8
    <td><%= l(label) %></td>
9
    <td width="30px"><%= image_tag((result ? 'true.png' : 'exclamation.png'),
10
                                    :style => "vertical-align:bottom;") %></td>
11
  </tr>
11 12
<% end %>
12 13
</table>
13 14

  
app/views/admin/projects.rhtml
11 11
<label><%= l(:label_project) %>:</label>
12 12
<%= text_field_tag 'name', params[:name], :size => 30 %>
13 13
<%= submit_tag l(:button_apply), :class => "small", :name => nil %>
14
<%= link_to l(:button_clear), {:controller => 'admin', :action => 'projects'}, :class => 'icon icon-reload' %>
14 15
</fieldset>
15 16
<% end %>
16 17
&nbsp;
app/views/attachments/.svn/entries
1 1
10
2 2

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

  
8 8

  
......
32 32

  
33 33

  
34 34

  
35
2011-03-03T11:05:10.000000Z
35
2011-06-06T13:14:59.000000Z
36 36
6f5329a1a81f3798a84a26b0261f5000
37 37
2008-12-09T16:54:46.963649Z
38 38
2116
......
66 66

  
67 67

  
68 68

  
69
2011-03-03T11:05:10.000000Z
69
2011-06-06T13:14:59.000000Z
70 70
b8bc854a91c56c3e3d45390e8ed4bb8d
71 71
2009-04-25T09:35:14.494071Z
72 72
2693
......
100 100

  
101 101

  
102 102

  
103
2011-03-03T11:05:10.000000Z
103
2011-06-06T13:14:59.000000Z
104 104
9cd3f9685ce632814961d9f7e67c4d26
105 105
2010-07-25T10:34:55.569539Z
106 106
3879
......
134 134

  
135 135

  
136 136

  
137
2011-03-03T11:05:10.000000Z
137
2011-06-06T13:14:59.000000Z
138 138
43e4ae1b5703daa55b37eb438a169304
139 139
2009-04-25T09:35:14.494071Z
140 140
2693
app/views/auth_sources/.svn/entries
1 1
10
2 2

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

  
8 8

  
......
32 32

  
33 33

  
34 34

  
35
2011-03-03T11:05:10.000000Z
35
2011-06-06T13:14:59.000000Z
36 36
2f1b944eb2979ed37624c653969fa6bf
37 37
2010-02-15T16:41:21.789274Z
38 38
3436
......
66 66

  
67 67

  
68 68

  
69
2011-03-03T11:05:10.000000Z
69
2011-06-06T13:14:59.000000Z
70 70
6f4f645b6d66417180eaadb0e204a56e
71 71
2007-03-12T17:59:02.654744Z
72 72
333
......
100 100

  
101 101

  
102 102

  
103
2011-03-03T11:05:10.000000Z
103
2011-06-06T13:14:59.000000Z
104 104
4ea0fc7f46738e3709d552778de7a756
105 105
2010-05-23T03:16:31.304135Z
106 106
3744
......
134 134

  
135 135

  
136 136

  
137
2011-03-03T11:05:10.000000Z
137
2011-06-06T13:14:59.000000Z
138 138
1cc2f5049536de6e5d6d4e926f96ab38
139 139
2007-03-12T17:59:02.654744Z
140 140
333
app/views/auto_completes/.svn/entries
1 1
10
2 2

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

  
8 8

  
......
32 32

  
33 33

  
34 34

  
35
2011-03-03T11:05:10.000000Z
35
2011-06-06T13:14:59.000000Z
36 36
d325b0677890591680b96985e16a0139
37 37
2010-08-17T15:03:58.074505Z
38 38
3945
app/views/boards/.svn/all-wcprops
1
K 25
2
svn:wc:ra_dav:version-url
3
V 41
4
/svn/!svn/ver/4889/trunk/app/views/boards
5
END
6
show.rhtml
7
K 25
8
svn:wc:ra_dav:version-url
9
V 52
10
/svn/!svn/ver/4889/trunk/app/views/boards/show.rhtml
11
END
12
_form.rhtml
13
K 25
14
svn:wc:ra_dav:version-url
15
V 52
16
/svn/!svn/ver/529/trunk/app/views/boards/_form.rhtml
17
END
18
edit.rhtml
19
K 25
20
svn:wc:ra_dav:version-url
21
V 51
22
/svn/!svn/ver/529/trunk/app/views/boards/edit.rhtml
23
END
24
index.rhtml
25
K 25
26
svn:wc:ra_dav:version-url
27
V 53
28
/svn/!svn/ver/4047/trunk/app/views/boards/index.rhtml
29
END
30
new.rhtml
31
K 25
32
svn:wc:ra_dav:version-url
33
V 50
34
/svn/!svn/ver/529/trunk/app/views/boards/new.rhtml
35
END
app/views/boards/.svn/entries
1 1
10
2 2

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

  
8 8

  
......
32 32

  
33 33

  
34 34

  
35
2011-03-03T11:40:18.000000Z
35
2011-06-06T13:14:59.000000Z
36 36
0f9b1735f403a56ed575c63dc474a611
37 37
2011-02-20T13:11:10.508449Z
38 38
4889
......
66 66

  
67 67

  
68 68

  
69
2011-03-03T11:05:10.000000Z
69
2011-06-06T13:14:59.000000Z
70 70
0416740cf4bf599b0da68e597c0cd44c
71 71
2007-05-13T17:09:56.765659Z
72 72
529
......
100 100

  
101 101

  
102 102

  
103
2011-03-03T11:05:10.000000Z
103
2011-06-06T13:14:59.000000Z
104 104
00f3643ebd3d5af2322b92c885a6eec6
105 105
2007-05-13T17:09:56.765659Z
106 106
529
......
134 134

  
135 135

  
136 136

  
137
2011-03-03T11:05:10.000000Z
137
2011-06-06T13:14:59.000000Z
138 138
5c323ebf8fea05f556896ed49186773b
139 139
2010-08-27T14:05:54.014502Z
140 140
4047
......
168 168

  
169 169

  
170 170

  
171
2011-03-03T11:05:10.000000Z
171
2011-06-06T13:14:59.000000Z
172 172
b951b4d73988508c5a42fdb7b7df695c
173 173
2007-05-13T17:09:56.765659Z
174 174
529
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

  
app/views/common/.svn/all-wcprops
1 1
K 25
2 2
svn:wc:ra_dav:version-url
3
V 41
4
/svn/!svn/ver/4604/trunk/app/views/common
3
V 55
4
/svn/!svn/ver/5878/branches/1.2-stable/app/views/common
5 5
END
6
_file.rhtml
7
K 25
8
svn:wc:ra_dav:version-url
9
V 53
10
/svn/!svn/ver/3585/trunk/app/views/common/_file.rhtml
11
END
12
error.html.erb
13
K 25
14
svn:wc:ra_dav:version-url
15
V 56
16
/svn/!svn/ver/4286/trunk/app/views/common/error.html.erb
17
END
18
feed.atom.rxml
19
K 25
20
svn:wc:ra_dav:version-url
21
V 56
22
/svn/!svn/ver/2768/trunk/app/views/common/feed.atom.rxml
23
END
24
_preview.rhtml
25
K 25
26
svn:wc:ra_dav:version-url
27
V 56
28
/svn/!svn/ver/1699/trunk/app/views/common/_preview.rhtml
29
END
30
_diff.rhtml
31
K 25
32
svn:wc:ra_dav:version-url
33
V 53
34
/svn/!svn/ver/4604/trunk/app/views/common/_diff.rhtml
35
END
36
_calendar.rhtml
37
K 25
38
svn:wc:ra_dav:version-url
39
V 57
40
/svn/!svn/ver/3790/trunk/app/views/common/_calendar.rhtml
41
END
42
_tabs.rhtml
43
K 25
44
svn:wc:ra_dav:version-url
45
V 53
46
/svn/!svn/ver/3174/trunk/app/views/common/_tabs.rhtml
47
END
app/views/common/.svn/entries
1 1
10
2 2

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

  
8 8

  
9 9

  
10
2011-01-01T13:40:36.520874Z
11
4604
12
jplang
10
2011-05-21T04:26:15.661225Z
11
5872
12
tmaruyama
13 13

  
14 14

  
15 15

  
......
32 32

  
33 33

  
34 34

  
35
2011-03-03T11:05:11.000000Z
35
2011-06-06T13:14:59.000000Z
36 36
f95c4268a6ac374ab617da665e57a3ad
37 37
2010-03-14T13:22:50.317701Z
38 38
3585
......
66 66

  
67 67

  
68 68

  
69
2011-03-03T11:05:11.000000Z
70
882dace2c9ea129616067a2052cebef4
71
2010-10-23T11:07:04.019894Z
72
4286
73
jplang
69
2011-06-06T13:18:33.000000Z
70
df19ed70179aa9f6d4ffc2403ac593bc
71
2011-05-21T04:26:15.661225Z
72
5872
73
tmaruyama
74
has-props
74 75

  
75 76

  
76 77

  
......
91 92

  
92 93

  
93 94

  
94

  
95
156
95
150
96 96

97 97
feed.atom.rxml
98 98
file
......
100 100

  
101 101

  
102 102

  
103
2011-03-03T11:05:11.000000Z
103
2011-06-06T13:14:59.000000Z
104 104
e2b0309f637e9a49ef39f8401f3190c5
105 105
2009-05-26T08:28:36.964305Z
106 106
2768
......
134 134

  
135 135

  
136 136

  
137
2011-03-03T11:05:11.000000Z
137
2011-06-06T13:14:59.000000Z
138 138
d03b1c3719bd49af7d930d210a8e8328
139 139
2008-07-26T12:54:54.604420Z
140 140
1699
......
168 168

  
169 169

  
170 170

  
171
2011-03-03T11:05:11.000000Z
172
1938ad8ac1793e75074891018e795398
173
2011-01-01T13:40:36.520874Z
174
4604
171
2011-06-06T13:18:33.000000Z
172
358b5f24bf743ee83c21cf15289b0a60
173
2011-03-11T20:23:29.177962Z
174
5094
175 175
jplang
176 176
has-props
177 177

  
......
194 194

  
195 195

  
196 196

  
197
2520
197
1541
198 198

199 199
_calendar.rhtml
200 200
file
......
202 202

  
203 203

  
204 204

  
205
2011-03-03T11:05:11.000000Z
205
2011-06-06T13:14:59.000000Z
206 206
18b2d631fabd5720aa07d369da11d0de
207 207
2010-06-19T22:52:15.523619Z
208 208
3790
......
236 236

  
237 237

  
238 238

  
239
2011-03-03T11:05:11.000000Z
239
2011-06-06T13:14:59.000000Z
240 240
6e7716818f87ed1ad9839c6e9a92ed1b
241 241
2009-12-14T20:13:29.438642Z
242 242
3174
app/views/common/.svn/text-base/_diff.rhtml.svn-base
1 1
<% diff = Redmine::UnifiedDiff.new(diff, :type => diff_type, :max_lines => Setting.diff_max_lines_displayed.to_i) -%>
2

  
2 3
<% diff.each do |table_file| -%>
3 4
<div class="autoscroll">
4
<% if diff_type == 'sbs' -%>
5
<% if diff.diff_type == 'sbs' -%>
5 6
<table class="filecontent">
6 7
<thead>
7 8
<tr><th colspan="4" class="filename"><%=to_utf8 table_file.file_name %></th></tr>
8 9
</thead>
9 10
<tbody>
10
<% prev_line_left, prev_line_right = nil, nil -%>
11
<% table_file.keys.sort.each do |key| -%>
12
<% if prev_line_left && prev_line_right && (table_file[key].nb_line_left != prev_line_left+1) && (table_file[key].nb_line_right != prev_line_right+1) -%>
11
<% table_file.each_line do |spacing, line| -%>
12
<% if spacing -%>
13 13
<tr class="spacing">
14
<th class="line-num">...</th><td></td><th class="line-num">...</th><td></td>
14
  <th class="line-num">...</th><td></td><th class="line-num">...</th><td></td>
15
</tr>
15 16
<% end -%>
16 17
<tr>
17
  <th class="line-num"><%= table_file[key].nb_line_left %></th>
18
  <td class="line-code <%= table_file[key].type_diff_left %>">
19
    <pre><%=to_utf8 table_file[key].line_left %></pre>
18
  <th class="line-num"><%= line.nb_line_left %></th>
19
  <td class="line-code <%= line.type_diff_left %>">
20
    <pre><%=to_utf8 line.html_line_left %></pre>
20 21
  </td>
21
  <th class="line-num"><%= table_file[key].nb_line_right %></th>
22
  <td class="line-code <%= table_file[key].type_diff_right %>">
23
    <pre><%=to_utf8 table_file[key].line_right %></pre>
22
  <th class="line-num"><%= line.nb_line_right %></th>
23
  <td class="line-code <%= line.type_diff_right %>">
24
    <pre><%=to_utf8 line.html_line_right %></pre>
24 25
  </td>
25 26
</tr>
26
<% prev_line_left, prev_line_right = table_file[key].nb_line_left.to_i, table_file[key].nb_line_right.to_i -%>
27 27
<% end -%>
28 28
</tbody>
29 29
</table>
30 30

  
31 31
<% else -%>
32
<table class="filecontent syntaxhl">
32
<table class="filecontent">
33 33
<thead>
34 34
<tr><th colspan="3" class="filename"><%=to_utf8 table_file.file_name %></th></tr>
35 35
</thead>
36 36
<tbody>
37
<% prev_line_left, prev_line_right = nil, nil -%>
38
<% table_file.keys.sort.each do |key, line| %>
39
<% if prev_line_left && prev_line_right && (table_file[key].nb_line_left != prev_line_left+1) && (table_file[key].nb_line_right != prev_line_right+1) -%>
37
<% table_file.each_line do |spacing, line| %>
38
<% if spacing -%>
40 39
<tr class="spacing">
41
<th class="line-num">...</th><th class="line-num">...</th><td></td>
40
  <th class="line-num">...</th><th class="line-num">...</th><td></td>
42 41
</tr>
43 42
<% end -%>
44 43
<tr>
45
  <th class="line-num"><%= table_file[key].nb_line_left %></th>
46
  <th class="line-num"><%= table_file[key].nb_line_right %></th>
47
  <% if table_file[key].line_left.empty? -%>
48
  <td class="line-code <%= table_file[key].type_diff_right %>">
49
    <pre><%=to_utf8 table_file[key].line_right %></pre>
44
  <th class="line-num"><%= line.nb_line_left %></th>
45
  <th class="line-num"><%= line.nb_line_right %></th>
46
  <td class="line-code <%= line.type_diff %>">
47
    <pre><%=to_utf8 line.html_line %></pre>
50 48
  </td>
51
  <% else -%>
52
  <td class="line-code <%= table_file[key].type_diff_left %>">
53
    <pre><%=to_utf8 table_file[key].line_left %></pre>
54
  </td>
55
  <% end -%>
56 49
</tr>
57
<% prev_line_left = table_file[key].nb_line_left.to_i if table_file[key].nb_line_left.to_i > 0 -%>
58
<% prev_line_right = table_file[key].nb_line_right.to_i if table_file[key].nb_line_right.to_i > 0 -%>
59 50
<% end -%>
60 51
</tbody>
61 52
</table>
62 53
<% end -%>
63

  
64 54
</div>
65 55
<% end -%>
66 56

  
app/views/common/.svn/text-base/error.html.erb.svn-base
1
<h2><%=h @status %></h2>
2

  
3
<p id="errorExplanation"><%=h @message %></p>
4
<p><a href="javascript:history.back()">Back</a></p>
5

  
6
<% html_title @status %>
1
<h2><%=h @status %></h2>
2

  
3
<p id="errorExplanation"><%=h @message %></p>
4
<p><a href="javascript:history.back()">Back</a></p>
5

  
6
<% html_title @status %>
app/views/common/_diff.rhtml
1 1
<% diff = Redmine::UnifiedDiff.new(diff, :type => diff_type, :max_lines => Setting.diff_max_lines_displayed.to_i) -%>
2

  
2 3
<% diff.each do |table_file| -%>
3 4
<div class="autoscroll">
4
<% if diff_type == 'sbs' -%>
5
<% if diff.diff_type == 'sbs' -%>
5 6
<table class="filecontent">
6 7
<thead>
7 8
<tr><th colspan="4" class="filename"><%=to_utf8 table_file.file_name %></th></tr>
8 9
</thead>
9 10
<tbody>
10
<% prev_line_left, prev_line_right = nil, nil -%>
11
<% table_file.keys.sort.each do |key| -%>
12
<% if prev_line_left && prev_line_right && (table_file[key].nb_line_left != prev_line_left+1) && (table_file[key].nb_line_right != prev_line_right+1) -%>
11
<% table_file.each_line do |spacing, line| -%>
12
<% if spacing -%>
13 13
<tr class="spacing">
14
<th class="line-num">...</th><td></td><th class="line-num">...</th><td></td>
14
  <th class="line-num">...</th><td></td><th class="line-num">...</th><td></td>
15
</tr>
15 16
<% end -%>
16 17
<tr>
17
  <th class="line-num"><%= table_file[key].nb_line_left %></th>
18
  <td class="line-code <%= table_file[key].type_diff_left %>">
19
    <pre><%=to_utf8 table_file[key].line_left %></pre>
18
  <th class="line-num"><%= line.nb_line_left %></th>
19
  <td class="line-code <%= line.type_diff_left %>">
20
    <pre><%=to_utf8 line.html_line_left %></pre>
20 21
  </td>
21
  <th class="line-num"><%= table_file[key].nb_line_right %></th>
22
  <td class="line-code <%= table_file[key].type_diff_right %>">
23
    <pre><%=to_utf8 table_file[key].line_right %></pre>
22
  <th class="line-num"><%= line.nb_line_right %></th>
23
  <td class="line-code <%= line.type_diff_right %>">
24
    <pre><%=to_utf8 line.html_line_right %></pre>
24 25
  </td>
25 26
</tr>
26
<% prev_line_left, prev_line_right = table_file[key].nb_line_left.to_i, table_file[key].nb_line_right.to_i -%>
27 27
<% end -%>
28 28
</tbody>
29 29
</table>
30 30

  
31 31
<% else -%>
32
<table class="filecontent syntaxhl">
32
<table class="filecontent">
33 33
<thead>
34 34
<tr><th colspan="3" class="filename"><%=to_utf8 table_file.file_name %></th></tr>
35 35
</thead>
36 36
<tbody>
37
<% prev_line_left, prev_line_right = nil, nil -%>
38
<% table_file.keys.sort.each do |key, line| %>
39
<% if prev_line_left && prev_line_right && (table_file[key].nb_line_left != prev_line_left+1) && (table_file[key].nb_line_right != prev_line_right+1) -%>
37
<% table_file.each_line do |spacing, line| %>
38
<% if spacing -%>
40 39
<tr class="spacing">
41
<th class="line-num">...</th><th class="line-num">...</th><td></td>
40
  <th class="line-num">...</th><th class="line-num">...</th><td></td>
42 41
</tr>
43 42
<% end -%>
44 43
<tr>
45
  <th class="line-num"><%= table_file[key].nb_line_left %></th>
46
  <th class="line-num"><%= table_file[key].nb_line_right %></th>
47
  <% if table_file[key].line_left.empty? -%>
48
  <td class="line-code <%= table_file[key].type_diff_right %>">
49
    <pre><%=to_utf8 table_file[key].line_right %></pre>
44
  <th class="line-num"><%= line.nb_line_left %></th>
45
  <th class="line-num"><%= line.nb_line_right %></th>
46
  <td class="line-code <%= line.type_diff %>">
47
    <pre><%=to_utf8 line.html_line %></pre>
50 48
  </td>
51
  <% else -%>
52
  <td class="line-code <%= table_file[key].type_diff_left %>">
53
    <pre><%=to_utf8 table_file[key].line_left %></pre>
54
  </td>
55
  <% end -%>
56 49
</tr>
57
<% prev_line_left = table_file[key].nb_line_left.to_i if table_file[key].nb_line_left.to_i > 0 -%>
58
<% prev_line_right = table_file[key].nb_line_right.to_i if table_file[key].nb_line_right.to_i > 0 -%>
59 50
<% end -%>
60 51
</tbody>
61 52
</table>
62 53
<% end -%>
63

  
64 54
</div>
65 55
<% end -%>
66 56

  
app/views/common/error.html.erb
1
<h2><%=h @status %></h2>
2

  
3
<p id="errorExplanation"><%=h @message %></p>
4
<p><a href="javascript:history.back()">Back</a></p>
5

  
6
<% html_title @status %>
1
<h2><%=h @status %></h2>
2

  
3
<p id="errorExplanation"><%=h @message %></p>
4
<p><a href="javascript:history.back()">Back</a></p>
5

  
6
<% html_title @status %>
app/views/context_menus/.svn/entries
1 1
10
2 2

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

  
8 8

  
9 9

  
10
2010-11-16T19:49:08.085592Z
11
4409
10
2011-04-17T15:17:18.418900Z
11
5495
12 12
jplang
13 13

  
14 14

  
......
26 26

  
27 27
e93f8b46-1217-0410-a6f0-8f06a7374b81
28 28

29
time_entries.html.erb
30
file
31

  
32

  
33

  
34

  
35
2011-06-06T13:18:33.000000Z
36
d021ca3ed499dc32afd907dfd0529b38
37
2011-04-04T11:54:47.184431Z
38
5316
39
tmaruyama
40

  
41

  
42

  
43

  
44

  
45

  
46

  
47

  
48

  
49

  
50

  
51

  
52

  
53

  
54

  
55

  
56

  
57

  
58

  
59

  
60

  
61
1879
62

29 63
issues.html.erb
30 64
file
31 65

  
32 66

  
33 67

  
34 68

  
35
2011-03-03T11:05:10.000000Z
36
1a873e0d09f011b6b274e955460d35a1
37
2010-11-16T19:49:08.085592Z
38
4409
69
2011-06-06T13:18:33.000000Z
70
71478da35c13199e1b5b3f0a2a33168f
71
2011-04-17T15:17:18.418900Z
72
5495
39 73
jplang
40 74
has-props
41 75

  
......
58 92

  
59 93

  
60 94

  
61
6698
95
6706
62 96

app/views/context_menus/.svn/text-base/issues.html.erb.svn-base
115 115
  <li><%= context_menu_link l(:button_move), new_issue_move_path(:ids => @issues.collect(&:id)),
116 116
	                        :class => 'icon-move', :disabled => !@can[:move]  %></li>
117 117
  <li><%= context_menu_link l(:button_delete), {:controller => 'issues', :action => 'destroy', :ids => @issues.collect(&:id), :back_url => @back},
118
                            :method => :post, :confirm => l(:text_issues_destroy_confirmation), :class => 'icon-del', :disabled => !@can[:delete] %></li>
118
                            :method => :post, :confirm => issues_destroy_confirmation_message(@issues), :class => 'icon-del', :disabled => !@can[:delete] %></li>
119 119

  
120 120
  <%= call_hook(:view_issues_context_menu_end, {:issues => @issues, :can => @can, :back => @back }) %>
121 121
</ul>
app/views/context_menus/issues.html.erb
115 115
  <li><%= context_menu_link l(:button_move), new_issue_move_path(:ids => @issues.collect(&:id)),
116 116
	                        :class => 'icon-move', :disabled => !@can[:move]  %></li>
117 117
  <li><%= context_menu_link l(:button_delete), {:controller => 'issues', :action => 'destroy', :ids => @issues.collect(&:id), :back_url => @back},
118
                            :method => :post, :confirm => l(:text_issues_destroy_confirmation), :class => 'icon-del', :disabled => !@can[:delete] %></li>
118
                            :method => :post, :confirm => issues_destroy_confirmation_message(@issues), :class => 'icon-del', :disabled => !@can[:delete] %></li>
119 119

  
120 120
  <%= call_hook(:view_issues_context_menu_end, {:issues => @issues, :can => @can, :back => @back }) %>
121 121
</ul>
app/views/context_menus/time_entries.html.erb
1
<ul>
2
  <% if !@time_entry.nil? -%>
3
    <li><%= context_menu_link l(:button_edit), {:controller => 'timelog', :action => 'edit', :id => @time_entry},
4
            :class => 'icon-edit', :disabled => !@can[:edit] %></li>
5
  <% else %>
6
    <li><%= context_menu_link l(:button_edit), {:controller => 'timelog', :action => 'bulk_edit', :ids => @time_entries.collect(&:id)},
7
            :class => 'icon-edit', :disabled => !@can[:edit] %></li>
8
  <% end %>
9

  
10
  <%= call_hook(:view_time_entries_context_menu_start, {:time_entries => @time_entries, :can => @can, :back => @back }) %>
11

  
12
	<% if @activities.present? -%>
13
	<li class="folder">			
14
		<a href="#" class="submenu"><%= l(:field_activity) %></a>
15
		<ul>
16
		<% @activities.each do |u| -%>
17
		    <li><%= context_menu_link u.name, {:controller => 'timelog', :action => 'bulk_edit', :ids => @time_entries.collect(&:id), :time_entry => {'activity_id' => u}, :back_url => @back}, :method => :post,
18
		                              :selected => (@time_entry && u == @time_entry.activity), :disabled => !@can[:update] %></li>
19
		<% end -%>
20
		    <li><%= context_menu_link l(:label_nobody), {:controller => 'timelog', :action => 'bulk_edit', :ids => @time_entries.collect(&:id), :time_entry => {'activity_id' => 'none'}, :back_url => @back}, :method => :post,
21
		                              :selected => (@time_entry && @time_entry.activity.nil?), :disabled => !@can[:update] %></li>
22
		</ul>
23
	</li>
24
	<% end %>
25

  
26
  <%= call_hook(:view_time_entries_context_menu_end, {:time_entries => @time_entries, :can => @can, :back => @back }) %>
27

  
28
  <li>
29
    <%= context_menu_link l(:button_delete), 
30
      {:controller => 'timelog', :action => 'destroy', :ids => @time_entries.collect(&:id), :back_url => @back},
31
      :method => :delete, :confirm => l(:text_time_entries_destroy_confirmation), :class => 'icon-del', :disabled => !@can[:delete] %>
32
  </li>
33
</ul>
app/views/custom_fields/.svn/all-wcprops
1
K 25
2
svn:wc:ra_dav:version-url
3
V 62
4
/svn/!svn/ver/5878/branches/1.2-stable/app/views/custom_fields
5
END
app/views/custom_fields/.svn/entries
1 1
10
2 2

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

  
8 8

  
9 9

  
10
2010-11-07T14:15:01.891476Z
11
4382
10
2011-04-01T13:44:58.700463Z
11
5272
12 12
jplang
13 13

  
14 14

  
......
32 32

  
33 33

  
34 34

  
35
2011-03-03T11:05:10.000000Z
36
7c1accc3dd22bd872e2e9b6a7f02a5c2
37
2010-11-07T14:15:01.891476Z
38
4382
35
2011-06-06T13:18:33.000000Z
36
a4379295fd24c6f633dc6f53e755c63a
37
2011-04-01T13:44:58.700463Z
38
5272
39 39
jplang
40 40
has-props
41 41

  
......
58 58

  
59 59

  
60 60

  
61
3960
61
4190
62 62

63 63
edit.rhtml
64 64
file
......
66 66

  
67 67

  
68 68

  
69
2011-03-03T11:05:10.000000Z
69
2011-06-06T13:14:59.000000Z
70 70
0c149f63c965988c70ecf48bde3222b3
71 71
2009-12-09T10:49:58.529326Z
72 72
3144
......
100 100

  
101 101

  
102 102

  
103
2011-03-03T11:05:10.000000Z
103
2011-06-06T13:14:59.000000Z
104 104
3372a4aeafa9f940744f07c4ce8ca434
105 105
2010-04-16T15:33:49.924704Z
106 106
3672
......
134 134

  
135 135

  
136 136

  
137
2011-03-03T11:05:10.000000Z
137
2011-06-06T13:14:59.000000Z
138 138
6441c559d374310cabfc9649eb5b3617
139 139
2009-09-12T09:13:13.676884Z
140 140
2871
......
168 168

  
169 169

  
170 170

  
171
2011-03-03T11:05:10.000000Z
171
2011-06-06T13:14:59.000000Z
172 172
7658107f6af4536cedfc075202ad3f7c
173 173
2009-12-09T10:49:58.529326Z
174 174
3144
app/views/custom_fields/.svn/text-base/_form.rhtml.svn-base
18 18
      Element.hide(p_length.parentNode);
19 19
      Element.hide(p_regexp.parentNode);
20 20
      if (p_searchable) Element.show(p_searchable.parentNode);
21
      Element.show(p_values);
21
      Element.show(p_values.parentNode);
22 22
      break;
23 23
    case "bool":
24 24
      p_default.setAttribute('type','checkbox');
25 25
      Element.hide(p_length.parentNode);
26 26
      Element.hide(p_regexp.parentNode);
27 27
      if (p_searchable) Element.hide(p_searchable.parentNode);
28
      Element.hide(p_values);
28
      Element.hide(p_values.parentNode);
29 29
      break;
30 30
    case "date":
31 31
      Element.hide(p_length.parentNode);
32 32
      Element.hide(p_regexp.parentNode);
33 33
      if (p_searchable) Element.hide(p_searchable.parentNode);
34
      Element.hide(p_values);
34
      Element.hide(p_values.parentNode);
35 35
      break;
36 36
    case "float":
37 37
    case "int":
38 38
      Element.show(p_length.parentNode);
39 39
      Element.show(p_regexp.parentNode);
40 40
      if (p_searchable) Element.hide(p_searchable.parentNode);
41
      Element.hide(p_values);
41
      Element.hide(p_values.parentNode);
42 42
      break;
43
		case "user":
44
    case "version":
45
      Element.hide(p_length.parentNode);
46
      Element.hide(p_regexp.parentNode);
47
      if (p_searchable) Element.hide(p_searchable.parentNode);
48
      Element.hide(p_values.parentNode);
49
      Element.hide(p_default.parentNode);
50
		  break;
43 51
    default:
44 52
      Element.show(p_length.parentNode);
45 53
      Element.show(p_regexp.parentNode);
46 54
      if (p_searchable) Element.show(p_searchable.parentNode);
47
      Element.hide(p_values);
55
      Element.hide(p_values.parentNode);
48 56
      break;
49 57
  }
50 58
}
......
54 62

  
55 63
<div class="box">
56 64
<p><%= f.text_field :name, :required => true %></p>
57
<p><%= f.select :field_format, custom_field_formats_for_select, {}, :onchange => "toggle_custom_field_format();",
65
<p><%= f.select :field_format, custom_field_formats_for_select(@custom_field), {}, :onchange => "toggle_custom_field_format();",
58 66
																																		:disabled => !@custom_field.new_record? %></p>
59 67
<p><label for="custom_field_min_length"><%=l(:label_min_max_length)%></label>
60 68
   <%= f.text_field :min_length, :size => 5, :no_label => true %> - 
61 69
   <%= f.text_field :max_length, :size => 5, :no_label => true %><br>(<%=l(:text_min_max_length_info)%>)</p>
62 70
<p><%= f.text_field :regexp, :size => 50 %><br>(<%=l(:text_regexp_info)%>)</p>
63
<p id="custom_field_possible_values"><%= f.text_area :possible_values, :value => @custom_field.possible_values.to_a.join("\n"),
64
																																			 :cols => 20,
65
																																			 :rows => 15 %>
66
<br /><em><%= l(:text_custom_field_possible_values_info) %></em></p>
71
<p>
72
	<%= f.text_area :possible_values, :value => @custom_field.possible_values.to_a.join("\n"), :rows => 15 %>
73
  <br /><em><%= l(:text_custom_field_possible_values_info) %></em>
74
</p>
67 75
<p><%= @custom_field.field_format == 'bool' ? f.check_box(:default_value) : f.text_field(:default_value) %></p>
68 76
<%= call_hook(:view_custom_fields_form_upper_box, :custom_field => @custom_field, :form => f) %>
69 77
</div>
app/views/custom_fields/_form.rhtml
18 18
      Element.hide(p_length.parentNode);
19 19
      Element.hide(p_regexp.parentNode);
20 20
      if (p_searchable) Element.show(p_searchable.parentNode);
21
      Element.show(p_values);
21
      Element.show(p_values.parentNode);
22 22
      break;
23 23
    case "bool":
24 24
      p_default.setAttribute('type','checkbox');
25 25
      Element.hide(p_length.parentNode);
26 26
      Element.hide(p_regexp.parentNode);
27 27
      if (p_searchable) Element.hide(p_searchable.parentNode);
28
      Element.hide(p_values);
28
      Element.hide(p_values.parentNode);
29 29
      break;
30 30
    case "date":
31 31
      Element.hide(p_length.parentNode);
32 32
      Element.hide(p_regexp.parentNode);
33 33
      if (p_searchable) Element.hide(p_searchable.parentNode);
34
      Element.hide(p_values);
34
      Element.hide(p_values.parentNode);
35 35
      break;
36 36
    case "float":
37 37
    case "int":
38 38
      Element.show(p_length.parentNode);
39 39
      Element.show(p_regexp.parentNode);
40 40
      if (p_searchable) Element.hide(p_searchable.parentNode);
41
      Element.hide(p_values);
41
      Element.hide(p_values.parentNode);
42 42
      break;
43
		case "user":
44
    case "version":
45
      Element.hide(p_length.parentNode);
46
      Element.hide(p_regexp.parentNode);
47
      if (p_searchable) Element.hide(p_searchable.parentNode);
48
      Element.hide(p_values.parentNode);
49
      Element.hide(p_default.parentNode);
50
		  break;
43 51
    default:
44 52
      Element.show(p_length.parentNode);
45 53
      Element.show(p_regexp.parentNode);
46 54
      if (p_searchable) Element.show(p_searchable.parentNode);
47
      Element.hide(p_values);
55
      Element.hide(p_values.parentNode);
48 56
      break;
49 57
  }
50 58
}
......
54 62

  
55 63
<div class="box">
56 64
<p><%= f.text_field :name, :required => true %></p>
57
<p><%= f.select :field_format, custom_field_formats_for_select, {}, :onchange => "toggle_custom_field_format();",
65
<p><%= f.select :field_format, custom_field_formats_for_select(@custom_field), {}, :onchange => "toggle_custom_field_format();",
58 66
																																		:disabled => !@custom_field.new_record? %></p>
59 67
<p><label for="custom_field_min_length"><%=l(:label_min_max_length)%></label>
60 68
   <%= f.text_field :min_length, :size => 5, :no_label => true %> - 
61 69
   <%= f.text_field :max_length, :size => 5, :no_label => true %><br>(<%=l(:text_min_max_length_info)%>)</p>
62 70
<p><%= f.text_field :regexp, :size => 50 %><br>(<%=l(:text_regexp_info)%>)</p>
63
<p id="custom_field_possible_values"><%= f.text_area :possible_values, :value => @custom_field.possible_values.to_a.join("\n"),
64
																																			 :cols => 20,
65
																																			 :rows => 15 %>
66
<br /><em><%= l(:text_custom_field_possible_values_info) %></em></p>
71
<p>
72
	<%= f.text_area :possible_values, :value => @custom_field.possible_values.to_a.join("\n"), :rows => 15 %>
73
  <br /><em><%= l(:text_custom_field_possible_values_info) %></em>
74
</p>
67 75
<p><%= @custom_field.field_format == 'bool' ? f.check_box(:default_value) : f.text_field(:default_value) %></p>
68 76
<%= call_hook(:view_custom_fields_form_upper_box, :custom_field => @custom_field, :form => f) %>
69 77
</div>
app/views/documents/.svn/entries
1 1
10
2 2

  
3 3
dir
4
4993
5
http://redmine.rubyforge.org/svn/trunk/app/views/documents
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff