Revision 441:cbce1fd3b1b7 app/views/projects/settings

View differences:

app/views/projects/settings/.svn/all-wcprops
1
K 25
2
svn:wc:ra_dav:version-url
3
V 52
4
/svn/!svn/ver/4719/trunk/app/views/projects/settings
5
END
6
_issue_categories.rhtml
7
K 25
8
svn:wc:ra_dav:version-url
9
V 76
10
/svn/!svn/ver/3734/trunk/app/views/projects/settings/_issue_categories.rhtml
11
END
12
_repository.rhtml
13
K 25
14
svn:wc:ra_dav:version-url
15
V 70
16
/svn/!svn/ver/3336/trunk/app/views/projects/settings/_repository.rhtml
17
END
18
_wiki.rhtml
19
K 25
20
svn:wc:ra_dav:version-url
21
V 64
22
/svn/!svn/ver/1143/trunk/app/views/projects/settings/_wiki.rhtml
23
END
24
_activities.rhtml
25
K 25
26
svn:wc:ra_dav:version-url
27
V 70
28
/svn/!svn/ver/4075/trunk/app/views/projects/settings/_activities.rhtml
29
END
30
_modules.rhtml
31
K 25
32
svn:wc:ra_dav:version-url
33
V 67
34
/svn/!svn/ver/4647/trunk/app/views/projects/settings/_modules.rhtml
35
END
36
_versions.rhtml
37
K 25
38
svn:wc:ra_dav:version-url
39
V 68
40
/svn/!svn/ver/4307/trunk/app/views/projects/settings/_versions.rhtml
41
END
42
_boards.rhtml
43 1
K 25
44 2
svn:wc:ra_dav:version-url
45 3
V 66
46
/svn/!svn/ver/3734/trunk/app/views/projects/settings/_boards.rhtml
4
/svn/!svn/ver/5961/branches/1.2-stable/app/views/projects/settings
47 5
END
48
_members.rhtml
49
K 25
50
svn:wc:ra_dav:version-url
51
V 67
52
/svn/!svn/ver/4719/trunk/app/views/projects/settings/_members.rhtml
53
END
app/views/projects/settings/.svn/entries
1 1
10
2 2

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

  
8 8

  
9 9

  
10
2011-01-15T13:20:18.866830Z
11
4719
10
2011-05-29T12:06:05.086159Z
11
5961
12 12
jplang
13 13

  
14 14

  
......
32 32

  
33 33

  
34 34

  
35
2011-03-03T11:05:11.000000Z
35
2011-06-06T13:14:59.000000Z
36 36
3f93ad7df3a43b70f004499bacc76cdf
37 37
2010-05-09T11:19:15.980195Z
38 38
3734
......
66 66

  
67 67

  
68 68

  
69
2011-03-03T11:05:11.000000Z
70
1fd25ea9af565c8a79ac61c918cbd3fc
71
2010-01-21T18:21:56.082191Z
72
3336
73
edavis10
69
2011-06-06T13:18:33.000000Z
70
42c5b4103543369a3b4cd629172673bc
71
2011-05-29T12:06:05.086159Z
72
5961
73
jplang
74 74
has-props
75 75

  
76 76

  
......
92 92

  
93 93

  
94 94

  
95
1075
95
1474
96 96

97 97
_wiki.rhtml
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
1ee550d6ee54d0c528eee8bb142c496d
105 105
2008-02-12T22:43:37.870107Z
106 106
1143
......
134 134

  
135 135

  
136 136

  
137
2011-03-03T11:05:11.000000Z
138
14f07f16cc36c896e6dc4d975c7ef807
139
2010-09-10T16:00:49.687515Z
140
4075
141
edavis10
137
2011-06-06T13:18:33.000000Z
138
17ae98146a2d76d03b93381c2e24daa3
139
2011-05-21T04:33:11.662910Z
140
5873
141
tmaruyama
142
has-props
142 143

  
143 144

  
144 145

  
......
159 160

  
160 161

  
161 162

  
162

  
163
1421
163
1379
164 164

165 165
_modules.rhtml
166 166
file
......
168 168

  
169 169

  
170 170

  
171
2011-03-03T11:05:11.000000Z
171
2011-06-06T13:14:59.000000Z
172 172
6dc73d6291a5471699054e6fbd33da8e
173 173
2011-01-06T20:57:17.003359Z
174 174
4647
......
202 202

  
203 203

  
204 204

  
205
2011-03-03T11:05:11.000000Z
205
2011-06-06T13:14:59.000000Z
206 206
4f26d985da6ada4c0d724095490050c5
207 207
2010-10-29T22:40:02.439890Z
208 208
4307
......
236 236

  
237 237

  
238 238

  
239
2011-03-03T11:05:11.000000Z
239
2011-06-06T13:14:59.000000Z
240 240
1d2eb75d2aa1ff66975f701d6b45c059
241 241
2010-05-09T11:19:15.980195Z
242 242
3734
......
270 270

  
271 271

  
272 272

  
273
2011-03-03T11:05:11.000000Z
273
2011-06-06T13:14:59.000000Z
274 274
6e7a70ea4a2a2fe46b75b968d19bb68e
275 275
2011-01-15T13:20:18.866830Z
276 276
4719
app/views/projects/settings/.svn/text-base/_activities.rhtml.svn-base
1
<% form_tag(project_project_enumerations_path(@project), :method => :put, :class => "tabular") do %>
2

  
3
<table class="list">
4
  <thead><tr>
5
    <th><%= l(:field_name) %></th>
6
    <th><%= l(:enumeration_system_activity) %></th>
7
    <% TimeEntryActivity.new.available_custom_fields.each do |value| %>
8
	<th><%= h value.name %></th>
9
    <% end %>
10
    <th style="width:15%;"><%= l(:field_active) %></th>
11
  </tr></thead>
12

  
13
  <% @project.activities(true).each do |enumeration| %>
14
  <% fields_for "enumerations[#{enumeration.id}]", enumeration do |ff| %>
15
  <tr class="<%= cycle('odd', 'even') %>">
16
    <td>
17
      <%= ff.hidden_field :parent_id, :value => enumeration.id unless enumeration.project %>
18
      <%= h(enumeration) %>
19
    </td>
20
    <td align="center" style="width:15%;"><%= checked_image !enumeration.project %></td>
21
    <% enumeration.custom_field_values.each do |value| %>
22
	<td align="center">
23
      <%= custom_field_tag "enumerations[#{enumeration.id}]", value %>
24
    </td>
25
    <% end %>
26
    <td align="center" style="width:15%;">
27
      <%= ff.check_box :active %>
28
    </td>
29
  </tr>
30
  <% end %>
31
  <% end %>
32
</table>
33

  
34
<div class="contextual">
35
<%= link_to(l(:button_reset), project_project_enumerations_path(@project),
36
						:method => :delete,
37
						:confirm => l(:text_are_you_sure),
38
            :class => 'icon icon-del') %>
39
</div>
40

  
41
<%= submit_tag l(:button_save) %>
42
<% end %>
1
<% form_tag(project_project_enumerations_path(@project), :method => :put, :class => "tabular") do %>
2

  
3
<table class="list">
4
  <thead><tr>
5
    <th><%= l(:field_name) %></th>
6
    <th><%= l(:enumeration_system_activity) %></th>
7
    <% TimeEntryActivity.new.available_custom_fields.each do |value| %>
8
	<th><%= h value.name %></th>
9
    <% end %>
10
    <th style="width:15%;"><%= l(:field_active) %></th>
11
  </tr></thead>
12

  
13
  <% @project.activities(true).each do |enumeration| %>
14
  <% fields_for "enumerations[#{enumeration.id}]", enumeration do |ff| %>
15
  <tr class="<%= cycle('odd', 'even') %>">
16
    <td>
17
      <%= ff.hidden_field :parent_id, :value => enumeration.id unless enumeration.project %>
18
      <%= h(enumeration) %>
19
    </td>
20
    <td align="center" style="width:15%;"><%= checked_image !enumeration.project %></td>
21
    <% enumeration.custom_field_values.each do |value| %>
22
	<td align="center">
23
      <%= custom_field_tag "enumerations[#{enumeration.id}]", value %>
24
    </td>
25
    <% end %>
26
    <td align="center" style="width:15%;">
27
      <%= ff.check_box :active %>
28
    </td>
29
  </tr>
30
  <% end %>
31
  <% end %>
32
</table>
33

  
34
<div class="contextual">
35
<%= link_to(l(:button_reset), project_project_enumerations_path(@project),
36
						:method => :delete,
37
						:confirm => l(:text_are_you_sure),
38
            :class => 'icon icon-del') %>
39
</div>
40

  
41
<%= submit_tag l(:button_save) %>
42
<% end %>
app/views/projects/settings/.svn/text-base/_repository.rhtml.svn-base
1
<% remote_form_for :repository, @repository, 
1
<% remote_form_for :repository, @repository,
2 2
                   :url => { :controller => 'repositories', :action => 'edit', :id => @project },
3 3
                   :builder => TabularFormBuilder,
4 4
                   :lang => current_language do |f| %>
......
6 6
<%= error_messages_for 'repository' %>
7 7

  
8 8
<div class="box tabular">
9
<p><%= label_tag('repository_scm', l(:label_scm)) %><%= scm_select_tag(@repository) %></p>
10
<%= repository_field_tags(f, @repository) if @repository %>
9
<p>
10
<%= label_tag('repository_scm', l(:label_scm)) %><%= scm_select_tag(@repository) %>
11
<% if @repository && ! @repository.class.scm_available %>
12
	<br />
13
	<em><%= content_tag 'span', l(:text_scm_command_not_available), :class => 'error' %></em>
14
<% end %>
15
</p>
16
<% button_disabled = true %>
17
<% if @repository %>
18
<%   button_disabled = ! @repository.class.scm_available %>
19
<%=    repository_field_tags(f, @repository)%>
20
<% end %>
11 21
</div>
12 22

  
13 23
<div class="contextual">
14 24
<% if @repository && !@repository.new_record? %>
15
<%= link_to(l(:label_user_plural), {:controller => 'repositories', :action => 'committers', :id => @project}, :class => 'icon icon-user') %>
25
<%= link_to(l(:label_user_plural),
26
                {
27
                :controller => 'repositories',
28
                :action     => 'committers',
29
                :id         => @project
30
                },
31
             :class => 'icon icon-user') %>
16 32
<%= link_to(l(:button_delete), {:controller => 'repositories', :action => 'destroy', :id => @project},
17 33
            :confirm => l(:text_are_you_sure),
18
            :method => :post,
19
            :class => 'icon icon-del') %>
34
            :method  => :post,
35
            :class   => 'icon icon-del') %>
20 36
<% end %>
21 37
</div>
22 38

  
23
<%= submit_tag((@repository.nil? || @repository.new_record?) ? l(:button_create) : l(:button_save), :disabled => @repository.nil?) %>
39
<%= submit_tag((@repository.nil? || @repository.new_record?) ? l(:button_create) : l(:button_save),
40
               :disabled => button_disabled) %>
24 41
<% end %>
app/views/projects/settings/_activities.rhtml
1
<% form_tag(project_project_enumerations_path(@project), :method => :put, :class => "tabular") do %>
2

  
3
<table class="list">
4
  <thead><tr>
5
    <th><%= l(:field_name) %></th>
6
    <th><%= l(:enumeration_system_activity) %></th>
7
    <% TimeEntryActivity.new.available_custom_fields.each do |value| %>
8
	<th><%= h value.name %></th>
9
    <% end %>
10
    <th style="width:15%;"><%= l(:field_active) %></th>
11
  </tr></thead>
12

  
13
  <% @project.activities(true).each do |enumeration| %>
14
  <% fields_for "enumerations[#{enumeration.id}]", enumeration do |ff| %>
15
  <tr class="<%= cycle('odd', 'even') %>">
16
    <td>
17
      <%= ff.hidden_field :parent_id, :value => enumeration.id unless enumeration.project %>
18
      <%= h(enumeration) %>
19
    </td>
20
    <td align="center" style="width:15%;"><%= checked_image !enumeration.project %></td>
21
    <% enumeration.custom_field_values.each do |value| %>
22
	<td align="center">
23
      <%= custom_field_tag "enumerations[#{enumeration.id}]", value %>
24
    </td>
25
    <% end %>
26
    <td align="center" style="width:15%;">
27
      <%= ff.check_box :active %>
28
    </td>
29
  </tr>
30
  <% end %>
31
  <% end %>
32
</table>
33

  
34
<div class="contextual">
35
<%= link_to(l(:button_reset), project_project_enumerations_path(@project),
36
						:method => :delete,
37
						:confirm => l(:text_are_you_sure),
38
            :class => 'icon icon-del') %>
39
</div>
40

  
41
<%= submit_tag l(:button_save) %>
42
<% end %>
1
<% form_tag(project_project_enumerations_path(@project), :method => :put, :class => "tabular") do %>
2

  
3
<table class="list">
4
  <thead><tr>
5
    <th><%= l(:field_name) %></th>
6
    <th><%= l(:enumeration_system_activity) %></th>
7
    <% TimeEntryActivity.new.available_custom_fields.each do |value| %>
8
	<th><%= h value.name %></th>
9
    <% end %>
10
    <th style="width:15%;"><%= l(:field_active) %></th>
11
  </tr></thead>
12

  
13
  <% @project.activities(true).each do |enumeration| %>
14
  <% fields_for "enumerations[#{enumeration.id}]", enumeration do |ff| %>
15
  <tr class="<%= cycle('odd', 'even') %>">
16
    <td>
17
      <%= ff.hidden_field :parent_id, :value => enumeration.id unless enumeration.project %>
18
      <%= h(enumeration) %>
19
    </td>
20
    <td align="center" style="width:15%;"><%= checked_image !enumeration.project %></td>
21
    <% enumeration.custom_field_values.each do |value| %>
22
	<td align="center">
23
      <%= custom_field_tag "enumerations[#{enumeration.id}]", value %>
24
    </td>
25
    <% end %>
26
    <td align="center" style="width:15%;">
27
      <%= ff.check_box :active %>
28
    </td>
29
  </tr>
30
  <% end %>
31
  <% end %>
32
</table>
33

  
34
<div class="contextual">
35
<%= link_to(l(:button_reset), project_project_enumerations_path(@project),
36
						:method => :delete,
37
						:confirm => l(:text_are_you_sure),
38
            :class => 'icon icon-del') %>
39
</div>
40

  
41
<%= submit_tag l(:button_save) %>
42
<% end %>
app/views/projects/settings/_repository.rhtml
1
<% remote_form_for :repository, @repository, 
1
<% remote_form_for :repository, @repository,
2 2
                   :url => { :controller => 'repositories', :action => 'edit', :id => @project },
3 3
                   :builder => TabularFormBuilder,
4 4
                   :lang => current_language do |f| %>
......
6 6
<%= error_messages_for 'repository' %>
7 7

  
8 8
<div class="box tabular">
9
<p><%= label_tag('repository_scm', l(:label_scm)) %><%= scm_select_tag(@repository) %></p>
10
<%= repository_field_tags(f, @repository) if @repository %>
9
<p>
10
<%= label_tag('repository_scm', l(:label_scm)) %><%= scm_select_tag(@repository) %>
11
<% if @repository && ! @repository.class.scm_available %>
12
	<br />
13
	<em><%= content_tag 'span', l(:text_scm_command_not_available), :class => 'error' %></em>
14
<% end %>
15
</p>
16
<% button_disabled = true %>
17
<% if @repository %>
18
<%   button_disabled = ! @repository.class.scm_available %>
19
<%=    repository_field_tags(f, @repository)%>
20
<% end %>
11 21
</div>
12 22

  
13 23
<div class="contextual">
14 24
<% if @repository && !@repository.new_record? %>
15
<%= link_to(l(:label_user_plural), {:controller => 'repositories', :action => 'committers', :id => @project}, :class => 'icon icon-user') %>
25
<%= link_to(l(:label_user_plural),
26
                {
27
                :controller => 'repositories',
28
                :action     => 'committers',
29
                :id         => @project
30
                },
31
             :class => 'icon icon-user') %>
16 32
<%= link_to(l(:button_delete), {:controller => 'repositories', :action => 'destroy', :id => @project},
17 33
            :confirm => l(:text_are_you_sure),
18
            :method => :post,
19
            :class => 'icon icon-del') %>
34
            :method  => :post,
35
            :class   => 'icon icon-del') %>
20 36
<% end %>
21 37
</div>
22 38

  
23
<%= submit_tag((@repository.nil? || @repository.new_record?) ? l(:button_create) : l(:button_save), :disabled => @repository.nil?) %>
39
<%= submit_tag((@repository.nil? || @repository.new_record?) ? l(:button_create) : l(:button_save),
40
               :disabled => button_disabled) %>
24 41
<% end %>

Also available in: Unified diff