Revision 441:cbce1fd3b1b7 app/views/repositories/.svn

View differences:

app/views/repositories/.svn/all-wcprops
1
K 25
2
svn:wc:ra_dav:version-url
3
V 47
4
/svn/!svn/ver/4921/trunk/app/views/repositories
5
END
6
stats.rhtml
7
K 25
8
svn:wc:ra_dav:version-url
9
V 59
10
/svn/!svn/ver/2895/trunk/app/views/repositories/stats.rhtml
11
END
12
revision.rhtml
13
K 25
14
svn:wc:ra_dav:version-url
15
V 62
16
/svn/!svn/ver/4613/trunk/app/views/repositories/revision.rhtml
17
END
18
_navigation.rhtml
19
K 25
20
svn:wc:ra_dav:version-url
21
V 65
22
/svn/!svn/ver/3086/trunk/app/views/repositories/_navigation.rhtml
23
END
24
entry.rhtml
25
K 25
26
svn:wc:ra_dav:version-url
27
V 59
28
/svn/!svn/ver/2840/trunk/app/views/repositories/entry.rhtml
29
END
30
_dir_list_content.rhtml
31
K 25
32
svn:wc:ra_dav:version-url
33
V 71
34
/svn/!svn/ver/4921/trunk/app/views/repositories/_dir_list_content.rhtml
35
END
36
diff.rhtml
37
K 25
38
svn:wc:ra_dav:version-url
39
V 58
40
/svn/!svn/ver/4698/trunk/app/views/repositories/diff.rhtml
41
END
42
changes.rhtml
43 1
K 25
44 2
svn:wc:ra_dav:version-url
45 3
V 61
46
/svn/!svn/ver/2840/trunk/app/views/repositories/changes.rhtml
4
/svn/!svn/ver/5878/branches/1.2-stable/app/views/repositories
47 5
END
48
_dir_list.rhtml
49
K 25
50
svn:wc:ra_dav:version-url
51
V 63
52
/svn/!svn/ver/1032/trunk/app/views/repositories/_dir_list.rhtml
53
END
54
annotate.rhtml
55
K 25
56
svn:wc:ra_dav:version-url
57
V 62
58
/svn/!svn/ver/4613/trunk/app/views/repositories/annotate.rhtml
59
END
60
show.rhtml
61
K 25
62
svn:wc:ra_dav:version-url
63
V 58
64
/svn/!svn/ver/2849/trunk/app/views/repositories/show.rhtml
65
END
66
_revisions.rhtml
67
K 25
68
svn:wc:ra_dav:version-url
69
V 64
70
/svn/!svn/ver/4613/trunk/app/views/repositories/_revisions.rhtml
71
END
72
revisions.rhtml
73
K 25
74
svn:wc:ra_dav:version-url
75
V 63
76
/svn/!svn/ver/2840/trunk/app/views/repositories/revisions.rhtml
77
END
78
committers.rhtml
79
K 25
80
svn:wc:ra_dav:version-url
81
V 64
82
/svn/!svn/ver/2137/trunk/app/views/repositories/committers.rhtml
83
END
84
_link_to_functions.rhtml
85
K 25
86
svn:wc:ra_dav:version-url
87
V 72
88
/svn/!svn/ver/2849/trunk/app/views/repositories/_link_to_functions.rhtml
89
END
90
_breadcrumbs.rhtml
91
K 25
92
svn:wc:ra_dav:version-url
93
V 66
94
/svn/!svn/ver/4733/trunk/app/views/repositories/_breadcrumbs.rhtml
95
END
app/views/repositories/.svn/entries
1 1
10
2 2

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

  
8 8

  
9 9

  
10
2011-02-22T08:16:05.081549Z
11
4921
10
2011-05-21T00:59:40.399050Z
11
5860
12 12
tmaruyama
13 13

  
14 14

  
......
26 26

  
27 27
e93f8b46-1217-0410-a6f0-8f06a7374b81
28 28

29
_navigation.rhtml
30
file
31

  
32

  
33

  
34

  
35
2011-06-06T13:14:59.000000Z
36
59dbb643c447518053d9cdb1a86cb5ef
37
2009-11-24T17:55:45.336708Z
38
3086
39
jplang
40
has-props
41

  
42

  
43

  
44

  
45

  
46

  
47

  
48

  
49

  
50

  
51

  
52

  
53

  
54

  
55

  
56

  
57

  
58

  
59

  
60

  
61
910
62

63
revision.rhtml
64
file
65

  
66

  
67

  
68

  
69
2011-06-06T13:18:33.000000Z
70
384e66ab55cf66e21cf0e6281db6745f
71
2011-05-21T00:58:47.244046Z
72
5859
73
tmaruyama
74
has-props
75

  
76

  
77

  
78

  
79

  
80

  
81

  
82

  
83

  
84

  
85

  
86

  
87

  
88

  
89

  
90

  
91

  
92

  
93

  
94

  
95
2090
96

29 97
stats.rhtml
30 98
file
31 99

  
32 100

  
33 101

  
34 102

  
35
2011-03-03T11:05:11.000000Z
103
2011-06-06T13:14:59.000000Z
36 104
bafc924316c90c31dc1cd9a6daf124ef
37 105
2009-09-20T14:06:57.257282Z
38 106
2895
......
60 128

  
61 129
581
62 130

63
revision.rhtml
64
file
65

  
66

  
67

  
68

  
69
2011-03-03T11:05:11.000000Z
70
8599ffd3e73ccf24e2c81c6e0a20c906
71
2011-01-02T09:45:05.291687Z
72
4613
73
tmaruyama
74
has-props
75

  
76

  
77

  
78

  
79

  
80

  
81

  
82

  
83

  
84

  
85

  
86

  
87

  
88

  
89

  
90

  
91

  
92

  
93

  
94

  
95
1931
96

97
_navigation.rhtml
98
file
99

  
100

  
101

  
102

  
103
2011-03-03T11:05:11.000000Z
104
59dbb643c447518053d9cdb1a86cb5ef
105
2009-11-24T17:55:45.336708Z
106
3086
107
jplang
108
has-props
109

  
110

  
111

  
112

  
113

  
114

  
115

  
116

  
117

  
118

  
119

  
120

  
121

  
122

  
123

  
124

  
125

  
126

  
127

  
128

  
129
910
130

131 131
entry.rhtml
132 132
file
133 133

  
134 134

  
135 135

  
136 136

  
137
2011-03-03T11:05:11.000000Z
137
2011-06-06T13:14:59.000000Z
138 138
012e1437dd062433556a6281439b3900
139 139
2009-08-15T22:41:40.505056Z
140 140
2840
......
168 168

  
169 169

  
170 170

  
171
2011-03-03T11:40:18.000000Z
172
9e9a1bb7f64971403644f55f38f9ccce
173
2011-02-22T08:16:05.081549Z
174
4921
171
2011-06-06T13:18:33.000000Z
172
52062d28fe7f8fce9ba10335926fe6c2
173
2011-05-13T03:55:21.375053Z
174
5775
175 175
tmaruyama
176 176
has-props
177 177

  
......
194 194

  
195 195

  
196 196

  
197
1839
197
2029
198

199
_dir_list.rhtml
200
file
201

  
202

  
203

  
204

  
205
2011-06-06T13:18:33.000000Z
206
13d094fdb12d094bcd8db82898f94612
207
2011-05-13T03:55:21.375053Z
208
5775
209
tmaruyama
210
has-props
211

  
212

  
213

  
214

  
215

  
216

  
217

  
218

  
219

  
220

  
221

  
222

  
223

  
224

  
225

  
226

  
227

  
228

  
229

  
230

  
231
411
232

233
changes.rhtml
234
file
235

  
236

  
237

  
238

  
239
2011-06-06T13:14:59.000000Z
240
cde7a86a5ec0cf9915b0540c9acbb820
241
2009-08-15T22:41:40.505056Z
242
2840
243
edavis10
244
has-props
245

  
246

  
247

  
248

  
249

  
250

  
251

  
252

  
253

  
254

  
255

  
256

  
257

  
258

  
259

  
260

  
261

  
262

  
263

  
264

  
265
636
198 266

199 267
diff.rhtml
200 268
file
......
202 270

  
203 271

  
204 272

  
205
2011-03-03T11:05:11.000000Z
273
2011-06-06T13:14:59.000000Z
206 274
76c0335206cfde112a6416937072848b
207 275
2011-01-11T16:04:07.541291Z
208 276
4698
......
230 298

  
231 299
944
232 300

233
changes.rhtml
234
file
235

  
236

  
237

  
238

  
239
2011-03-03T11:05:11.000000Z
240
cde7a86a5ec0cf9915b0540c9acbb820
241
2009-08-15T22:41:40.505056Z
242
2840
243
edavis10
244
has-props
245

  
246

  
247

  
248

  
249

  
250

  
251

  
252

  
253

  
254

  
255

  
256

  
257

  
258

  
259

  
260

  
261

  
262

  
263

  
264

  
265
636
266

267
_dir_list.rhtml
268
file
269

  
270

  
271

  
272

  
273
2011-03-03T11:05:11.000000Z
274
8c004b6e433ac1a6ca64c97a35512f28
275
2008-01-02T22:41:53.166620Z
276
1032
277
jplang
278
has-props
279

  
280

  
281

  
282

  
283

  
284

  
285

  
286

  
287

  
288

  
289

  
290

  
291

  
292

  
293

  
294

  
295

  
296

  
297

  
298

  
299
350
300

301 301
annotate.rhtml
302 302
file
303 303

  
304 304

  
305 305

  
306 306

  
307
2011-03-03T11:05:11.000000Z
307
2011-06-06T13:14:59.000000Z
308 308
d3aaac2a6c4b7c77b844324970afff64
309 309
2011-01-02T09:45:05.291687Z
310 310
4613
......
332 332

  
333 333
1333
334 334

335
show.rhtml
336
file
337

  
338

  
339

  
340

  
341
2011-03-03T11:05:11.000000Z
342
5608dc13675382cd62688058ca0b77d1
343
2009-09-01T12:13:17.386587Z
344
2849
345
jplang
346
has-props
347

  
348

  
349

  
350

  
351

  
352

  
353

  
354

  
355

  
356

  
357

  
358

  
359

  
360

  
361

  
362

  
363

  
364

  
365

  
366

  
367
1461
368

369 335
_revisions.rhtml
370 336
file
371 337

  
372 338

  
373 339

  
374 340

  
375
2011-03-03T11:05:11.000000Z
341
2011-06-06T13:14:59.000000Z
376 342
61a2e63b2e36b7d622d95745cc864583
377 343
2011-01-02T09:45:05.291687Z
378 344
4613
......
400 366

  
401 367
1341
402 368

369
show.rhtml
370
file
371

  
372

  
373

  
374

  
375
2011-06-06T13:18:33.000000Z
376
d63ae531baf19516526772ad42c128a2
377
2011-03-26T02:40:13.309063Z
378
5223
379
tmaruyama
380
has-props
381

  
382

  
383

  
384

  
385

  
386

  
387

  
388

  
389

  
390

  
391

  
392

  
393

  
394

  
395

  
396

  
397

  
398

  
399

  
400

  
401
2061
402

403 403
revisions.rhtml
404 404
file
405 405

  
406 406

  
407 407

  
408 408

  
409
2011-03-03T11:05:11.000000Z
410
f2efac3274e0c46cf32037372907a644
411
2009-08-15T22:41:40.505056Z
412
2840
413
edavis10
409
2011-06-06T13:18:33.000000Z
410
ebdeb45983545fd5691d8667b156ccfd
411
2011-05-21T00:59:40.399050Z
412
5860
413
tmaruyama
414 414
has-props
415 415

  
416 416

  
......
432 432

  
433 433

  
434 434

  
435
810
435
960
436

437
_link_to_functions.rhtml
438
file
439

  
440

  
441

  
442

  
443
2011-06-06T13:14:59.000000Z
444
a86ac8a045315f57fa32acb29c08f19f
445
2009-09-01T12:13:17.386587Z
446
2849
447
jplang
448
has-props
449

  
450

  
451

  
452

  
453

  
454

  
455

  
456

  
457

  
458

  
459

  
460

  
461

  
462

  
463

  
464

  
465

  
466

  
467

  
468

  
469
847
436 470

437 471
committers.rhtml
438 472
file
......
440 474

  
441 475

  
442 476

  
443
2011-03-03T11:05:11.000000Z
477
2011-06-06T13:14:59.000000Z
444 478
2db96b0dcaab42c8e67b7fc590618fd3
445 479
2008-12-15T18:02:25.843227Z
446 480
2137
......
468 502

  
469 503
857
470 504

471
_link_to_functions.rhtml
472
file
473

  
474

  
475

  
476

  
477
2011-03-03T11:05:11.000000Z
478
a86ac8a045315f57fa32acb29c08f19f
479
2009-09-01T12:13:17.386587Z
480
2849
481
jplang
482
has-props
483

  
484

  
485

  
486

  
487

  
488

  
489

  
490

  
491

  
492

  
493

  
494

  
495

  
496

  
497

  
498

  
499

  
500

  
501

  
502

  
503
847
504

505 505
_breadcrumbs.rhtml
506 506
file
507 507

  
508 508

  
509 509

  
510 510

  
511
2011-03-03T11:05:11.000000Z
512
a8822300e64f74b50bbb1e90d1a61dda
513
2011-01-21T13:22:08.161817Z
514
4733
511
2011-06-06T13:18:33.000000Z
512
70983d0940293e9e5b731b0d182d76ab
513
2011-03-16T00:51:14.442890Z
514
5147
515 515
tmaruyama
516 516
has-props
517 517

  
......
534 534

  
535 535

  
536 536

  
537
687
537
912
538 538

app/views/repositories/.svn/text-base/_breadcrumbs.rhtml.svn-base
10 10
    link_path << '/' unless link_path.empty?
11 11
    link_path << "#{dir}" 
12 12
    %>
13
    / <%= link_to h(dir), :action => 'show', :id => @project, :path => to_path_param(link_path), :rev => @rev %>
13
    / <%= link_to h(dir), :action => 'show', :id => @project,
14
                :path => to_path_param(link_path), :rev => @rev %>
14 15
<% end %>
15 16
<% if filename %>
16
    / <%= link_to h(filename), :action => 'changes', :id => @project, :path => to_path_param("#{link_path}/#{filename}"), :rev => @rev %>
17
    / <%= link_to h(filename),
18
                   :action => 'changes', :id => @project,
19
                   :path => to_path_param("#{link_path}/#{filename}"), :rev => @rev %>
17 20
<% end %>
18

  
19
<%= "@ #{h format_revision(@changeset)}" if @changeset %>
21
<%
22
  # @rev is revsion or Git and Mercurial branch or tag.
23
  # For Mercurial *tip*, @rev and @changeset are nil.
24
  rev_text = @changeset.nil? ? @rev : format_revision(@changeset)
25
%>
26
<%= "@ #{h rev_text}" unless rev_text.blank? %>
20 27

  
21 28
<% html_title(with_leading_slash(path)) -%>
app/views/repositories/.svn/text-base/_dir_list.rhtml.svn-base
3 3
<tr id="root">
4 4
<th><%= l(:field_name) %></th>
5 5
<th><%= l(:field_filesize) %></th>
6
<th><%= l(:label_revision) %></th>
7
<th><%= l(:label_age) %></th>
8
<th><%= l(:field_author) %></th>
9
<th><%= l(:field_comments) %></th>
6
<% if @repository.report_last_commit %>
7
<th><%= l(:label_revision)  %></th>
8
<th><%= l(:label_age)       %></th>
9
<th><%= l(:field_author)    %></th>
10
<th><%= l(:field_comments)  %></th>
11
<% end %>
10 12
</tr>
11 13
</thead>
12 14
<tbody>
app/views/repositories/.svn/text-base/_dir_list_content.rhtml.svn-base
1 1
<% @entries.each do |entry| %>
2 2
<% tr_id = Digest::MD5.hexdigest(entry.path)
3 3
   depth = params[:depth].to_i %>
4
<%  ent_path = replace_invalid_utf8(entry.path)   %>
5
<%  ent_name = replace_invalid_utf8(entry.name)   %>
4
<%  ent_path = Redmine::CodesetUtil.replace_invalid_utf8(entry.path)   %>
5
<%  ent_name = Redmine::CodesetUtil.replace_invalid_utf8(entry.name)   %>
6 6
<tr id="<%= tr_id %>" class="<%= h params[:parent_id] %> entry <%= entry.kind %>">
7
<td style="padding-left: <%=18 * depth%>px;" class="filename">
7
<td style="padding-left: <%=18 * depth%>px;" class="<%=
8
           @repository.report_last_commit ? "filename" : "filename_no_report" %>";>
8 9
<% if entry.is_dir? %>
9 10
<span class="expander" onclick="<%=  remote_function :url => {:action => 'show', :id => @project, :path => to_path_param(ent_path), :rev => @rev, :depth => (depth + 1), :parent_id => tr_id},
10 11
                  :method => :get,
......
19 20
</td>
20 21
<td class="size"><%= (entry.size ? number_to_human_size(entry.size) : "?") unless entry.is_dir? %></td>
21 22
<% changeset = @project.repository.find_changeset_by_name(entry.lastrev.identifier) if entry.lastrev && entry.lastrev.identifier %>
23
<% if @repository.report_last_commit %>
22 24
<td class="revision"><%= link_to_revision(changeset, @project) if changeset %></td>
23 25
<td class="age"><%= distance_of_time_in_words(entry.lastrev.time, Time.now) if entry.lastrev && entry.lastrev.time %></td>
24
<td class="author"><%= changeset.nil? ? h(replace_invalid_utf8(entry.lastrev.author.to_s.split('<').first)) : changeset.author if entry.lastrev %></td>
26
<td class="author"><%= changeset.nil? ? h(Redmine::CodesetUtil.replace_invalid_utf8(entry.lastrev.author.to_s.split('<').first)) : changeset.author if entry.lastrev %></td>
25 27
<td class="comments"><%=h truncate(changeset.comments, :length => 50) unless changeset.nil? %></td>
28
<% end %>
26 29
</tr>
27 30
<% end %>
app/views/repositories/.svn/text-base/revision.rhtml.svn-base
13 13
  <% end -%>
14 14
  &#187;&nbsp;
15 15

  
16
  <% form_tag({:controller => 'repositories', :action => 'revision', :id => @project, :rev => nil}, :method => :get) do %>
16
  <% form_tag({:controller => 'repositories',
17
               :action     => 'revision',
18
               :id         => @project,
19
               :rev        => nil},
20
               :method     => :get) do %>
17 21
    <%= text_field_tag 'rev', @rev, :size => 8 %>
18 22
    <%= submit_tag 'OK', :name => nil %>
19 23
  <% end %>
......
38 42
<% if User.current.allowed_to?(:browse_repository, @project) %>
39 43
<h3><%= l(:label_attachment_plural) %></h3>
40 44
<ul id="changes-legend">
41
<li class="change change-A"><%= l(:label_added) %></li>
45
<li class="change change-A"><%= l(:label_added)    %></li>
42 46
<li class="change change-M"><%= l(:label_modified) %></li>
43
<li class="change change-C"><%= l(:label_copied) %></li>
44
<li class="change change-R"><%= l(:label_renamed) %></li>
45
<li class="change change-D"><%= l(:label_deleted) %></li>
47
<li class="change change-C"><%= l(:label_copied)   %></li>
48
<li class="change change-R"><%= l(:label_renamed)  %></li>
49
<li class="change change-D"><%= l(:label_deleted)  %></li>
46 50
</ul>
47 51

  
48
<p><%= link_to(l(:label_view_diff), :action => 'diff', :id => @project, :path => "", :rev => @changeset.identifier) if @changeset.changes.any? %></p>
52
<p><%= link_to(l(:label_view_diff),
53
               :action => 'diff',
54
               :id     => @project,
55
               :path   => "",
56
               :rev    => @changeset.identifier) if @changeset.changes.any? %></p>
49 57

  
50 58
<div class="changeset-changes">
51 59
<%= render_changeset_changes %>
app/views/repositories/.svn/text-base/revisions.rhtml.svn-base
1 1
<div class="contextual">
2 2
<% form_tag({:action => 'revision', :id => @project}) do %>
3
<%= l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 8 %>
4
<%= submit_tag 'OK' %>
3
<%=   l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 8 %>
4
<%=   submit_tag 'OK' %>
5 5
<% end %>
6 6
</div>
7 7

  
8 8
<h2><%= l(:label_revision_plural) %></h2>
9 9

  
10
<%= render :partial => 'revisions', :locals => {:project => @project, :path => '', :revisions => @changesets, :entry => nil }%>
10
<%= render :partial => 'revisions',
11
           :locals => {:project   => @project,
12
                       :path      => '', 
13
                       :revisions => @changesets,
14
                       :entry     => nil } %>
11 15

  
12 16
<p class="pagination"><%= pagination_links_full @changeset_pages,@changeset_count %></p>
13 17

  
14 18
<% content_for :header_tags do %>
15
<%= stylesheet_link_tag "scm" %>
16
<%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %>
19
<%=   stylesheet_link_tag "scm" %>
20
<%=   auto_discovery_link_tag(
21
               :atom,
22
               params.merge(
23
                 {:format => 'atom', :page => nil, :key => User.current.rss_key})) %>
17 24
<% end %>
18 25

  
19 26
<% other_formats_links do |f| %>
app/views/repositories/.svn/text-base/show.rhtml.svn-base
12 12

  
13 13
<%= render_properties(@properties) %>
14 14

  
15
<% if @changesets && !@changesets.empty? && authorize_for('repositories', 'revisions') %>
15
<% if authorize_for('repositories', 'revisions') %>
16
<%   if @changesets && !@changesets.empty? %>
16 17
<h3><%= l(:label_latest_revision_plural) %></h3>
17
<%= render :partial => 'revisions', :locals => {:project => @project, :path => @path, :revisions => @changesets, :entry => nil }%>
18
<%=    render :partial => 'revisions',
19
              :locals => {:project => @project, :path => @path,
20
                          :revisions => @changesets, :entry => nil }%>
21
<%   end %>
22
<p>
23
<%
24
     has_branches = (!@repository.branches.nil? && @repository.branches.length > 0)
25
     sep = ''
26
 %>
27
<%   if @repository.supports_all_revisions? && @path.blank? %>
28
<%= link_to l(:label_view_all_revisions), :action => 'revisions', :id => @project %>
29
<%   sep = '|' %>
30
<%   end %>
31
<%
32
     if @repository.supports_directory_revisions? &&
33
         ( has_branches || !@path.blank? || !@rev.blank? )
34
 %>
35
<%= sep %>
36
<%=
37
    link_to l(:label_view_revisions),
38
                   :action => 'changes',
39
                   :path   => to_path_param(@path),
40
                   :id     => @project,
41
                   :rev    => @rev
42
                   %>
43
<%   end %>
44
</p>
18 45

  
19
<% if @path.blank? %>
20
	<p><%= link_to l(:label_view_all_revisions), :action => 'revisions', :id => @project %></p>
21
<% else %>
22
	<p><%= link_to l(:label_view_revisions), :action => 'changes', :path => to_path_param(@path), :id => @project %></p>
23
<% end %>
46
<%   if true # @path.blank? %>
47
<%     content_for :header_tags do %>
48
  <%= auto_discovery_link_tag(
49
                   :atom, params.merge(
50
                      {:format => 'atom', :action => 'revisions',
51
                       :id => @project, :page => nil, :key => User.current.rss_key})) %>
52
<%     end %>
24 53

  
25
<% content_for :header_tags do %>
26
  <%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :action => 'revisions', :id => @project, :page => nil, :key => User.current.rss_key})) %>
27
<% end %>
28

  
29
<% other_formats_links do |f| %>
30
	<%= f.link_to 'Atom', :url => {:action => 'revisions', :id => @project, :key => User.current.rss_key} %>
31
<% end %>
54
<%     other_formats_links do |f| %>
55
  <%= f.link_to 'Atom', :url => {:action => 'revisions', :id => @project, :key => User.current.rss_key} %>
56
<%     end %>
57
<%   end %>
32 58
<% end %>
33 59

  
34 60
<% content_for :header_tags do %>

Also available in: Unified diff