Revision 441:cbce1fd3b1b7 app/helpers/.svn

View differences:

app/helpers/.svn/all-wcprops
1
K 25
2
svn:wc:ra_dav:version-url
3
V 36
4
/svn/!svn/ver/4990/trunk/app/helpers
5
END
6
trackers_helper.rb
7
K 25
8
svn:wc:ra_dav:version-url
9
V 54
10
/svn/!svn/ver/333/trunk/app/helpers/trackers_helper.rb
11
END
12
groups_helper.rb
13
K 25
14
svn:wc:ra_dav:version-url
15
V 53
16
/svn/!svn/ver/2869/trunk/app/helpers/groups_helper.rb
17
END
18
issue_statuses_helper.rb
19
K 25
20
svn:wc:ra_dav:version-url
21
V 60
22
/svn/!svn/ver/333/trunk/app/helpers/issue_statuses_helper.rb
23
END
24
roles_helper.rb
25
K 25
26
svn:wc:ra_dav:version-url
27
V 51
28
/svn/!svn/ver/333/trunk/app/helpers/roles_helper.rb
29
END
30
sort_helper.rb
31
K 25
32
svn:wc:ra_dav:version-url
33
V 51
34
/svn/!svn/ver/3618/trunk/app/helpers/sort_helper.rb
35
END
36
repositories_helper.rb
37
K 25
38
svn:wc:ra_dav:version-url
39
V 59
40
/svn/!svn/ver/4990/trunk/app/helpers/repositories_helper.rb
41
END
42
admin_helper.rb
43
K 25
44
svn:wc:ra_dav:version-url
45
V 52
46
/svn/!svn/ver/4080/trunk/app/helpers/admin_helper.rb
47
END
48
projects_helper.rb
49
K 25
50
svn:wc:ra_dav:version-url
51
V 55
52
/svn/!svn/ver/3924/trunk/app/helpers/projects_helper.rb
53
END
54
account_helper.rb
55
K 25
56
svn:wc:ra_dav:version-url
57
V 53
58
/svn/!svn/ver/333/trunk/app/helpers/account_helper.rb
59
END
60
calendars_helper.rb
61
K 25
62
svn:wc:ra_dav:version-url
63
V 56
64
/svn/!svn/ver/4046/trunk/app/helpers/calendars_helper.rb
65
END
66
issue_categories_helper.rb
67
K 25
68
svn:wc:ra_dav:version-url
69
V 62
70
/svn/!svn/ver/333/trunk/app/helpers/issue_categories_helper.rb
71
END
72
documents_helper.rb
73
K 25
74
svn:wc:ra_dav:version-url
75
V 55
76
/svn/!svn/ver/333/trunk/app/helpers/documents_helper.rb
77
END
78
wiki_helper.rb
79
K 25
80
svn:wc:ra_dav:version-url
81
V 51
82
/svn/!svn/ver/4952/trunk/app/helpers/wiki_helper.rb
83
END
84
enumerations_helper.rb
85
K 25
86
svn:wc:ra_dav:version-url
87
V 58
88
/svn/!svn/ver/333/trunk/app/helpers/enumerations_helper.rb
89
END
90
issues_helper.rb
91
K 25
92
svn:wc:ra_dav:version-url
93
V 53
94
/svn/!svn/ver/4954/trunk/app/helpers/issues_helper.rb
95
END
96
queries_helper.rb
97
K 25
98
svn:wc:ra_dav:version-url
99
V 54
100
/svn/!svn/ver/4387/trunk/app/helpers/queries_helper.rb
101
END
102
gantt_helper.rb
103
K 25
104
svn:wc:ra_dav:version-url
105
V 52
106
/svn/!svn/ver/4283/trunk/app/helpers/gantt_helper.rb
107
END
108
mail_handler_helper.rb
109
K 25
110
svn:wc:ra_dav:version-url
111
V 59
112
/svn/!svn/ver/1584/trunk/app/helpers/mail_handler_helper.rb
113
END
114
watchers_helper.rb
115
K 25
116
svn:wc:ra_dav:version-url
117
V 55
118
/svn/!svn/ver/3579/trunk/app/helpers/watchers_helper.rb
119
END
120
my_helper.rb
121
K 25
122
svn:wc:ra_dav:version-url
123
V 48
124
/svn/!svn/ver/333/trunk/app/helpers/my_helper.rb
125
END
126
members_helper.rb
127
K 25
128
svn:wc:ra_dav:version-url
129
V 53
130
/svn/!svn/ver/333/trunk/app/helpers/members_helper.rb
131
END
132
welcome_helper.rb
133
K 25
134
svn:wc:ra_dav:version-url
135
V 53
136
/svn/!svn/ver/333/trunk/app/helpers/welcome_helper.rb
137
END
138
journals_helper.rb
139
K 25
140
svn:wc:ra_dav:version-url
141
V 55
142
/svn/!svn/ver/4062/trunk/app/helpers/journals_helper.rb
143
END
144
workflows_helper.rb
145
K 25
146
svn:wc:ra_dav:version-url
147
V 56
148
/svn/!svn/ver/1914/trunk/app/helpers/workflows_helper.rb
149
END
150
reports_helper.rb
151
K 25
152
svn:wc:ra_dav:version-url
153
V 53
154
/svn/!svn/ver/629/trunk/app/helpers/reports_helper.rb
155
END
156
timelog_helper.rb
157
K 25
158
svn:wc:ra_dav:version-url
159
V 54
160
/svn/!svn/ver/3708/trunk/app/helpers/timelog_helper.rb
161
END
162
settings_helper.rb
163
K 25
164
svn:wc:ra_dav:version-url
165
V 55
166
/svn/!svn/ver/4222/trunk/app/helpers/settings_helper.rb
167
END
168
custom_fields_helper.rb
169
K 25
170
svn:wc:ra_dav:version-url
171
V 60
172
/svn/!svn/ver/4480/trunk/app/helpers/custom_fields_helper.rb
173
END
174
issue_moves_helper.rb
175
K 25
176
svn:wc:ra_dav:version-url
177
V 58
178
/svn/!svn/ver/3936/trunk/app/helpers/issue_moves_helper.rb
179
END
180
users_helper.rb
181
K 25
182
svn:wc:ra_dav:version-url
183
V 52
184
/svn/!svn/ver/4497/trunk/app/helpers/users_helper.rb
185
END
186
application_helper.rb
187
K 25
188
svn:wc:ra_dav:version-url
189
V 58
190
/svn/!svn/ver/4900/trunk/app/helpers/application_helper.rb
191
END
192
auth_sources_helper.rb
193
K 25
194
svn:wc:ra_dav:version-url
195
V 58
196
/svn/!svn/ver/333/trunk/app/helpers/auth_sources_helper.rb
197
END
198
search_helper.rb
199
K 25
200
svn:wc:ra_dav:version-url
201
V 53
202
/svn/!svn/ver/4353/trunk/app/helpers/search_helper.rb
203
END
204
messages_helper.rb
205
K 25
206
svn:wc:ra_dav:version-url
207
V 55
208
/svn/!svn/ver/4760/trunk/app/helpers/messages_helper.rb
209
END
210
issue_relations_helper.rb
211
K 25
212
svn:wc:ra_dav:version-url
213
V 61
214
/svn/!svn/ver/506/trunk/app/helpers/issue_relations_helper.rb
215
END
216
versions_helper.rb
217
K 25
218
svn:wc:ra_dav:version-url
219
V 54
220
/svn/!svn/ver/955/trunk/app/helpers/versions_helper.rb
221
END
222
boards_helper.rb
223
K 25
224
svn:wc:ra_dav:version-url
225
V 52
226
/svn/!svn/ver/529/trunk/app/helpers/boards_helper.rb
227
END
228
attachments_helper.rb
229
K 25
230
svn:wc:ra_dav:version-url
231
V 58
232
/svn/!svn/ver/4605/trunk/app/helpers/attachments_helper.rb
233
END
234
news_helper.rb
235 1
K 25
236 2
svn:wc:ra_dav:version-url
237 3
V 50
238
/svn/!svn/ver/333/trunk/app/helpers/news_helper.rb
4
/svn/!svn/ver/5961/branches/1.2-stable/app/helpers
239 5
END
app/helpers/.svn/entries
1 1
10
2 2

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

  
8 8

  
9 9

  
10
2011-03-03T03:30:10.954225Z
11
4990
12
tmaruyama
10
2011-05-29T12:06:05.086159Z
11
5961
12
jplang
13 13

  
14 14

  
15 15

  
......
32 32

  
33 33

  
34 34

  
35
2011-03-03T11:05:09.000000Z
35
2011-06-06T13:14:59.000000Z
36 36
e1b19c2c81df384b2026001d1d9605fd
37 37
2007-03-12T17:59:02.654744Z
38 38
333
......
66 66

  
67 67

  
68 68

  
69
2011-03-03T11:05:09.000000Z
69
2011-06-06T13:14:59.000000Z
70 70
ab0af291fb143223852a6edddc64b74b
71 71
2009-09-12T08:36:46.650954Z
72 72
2869
......
100 100

  
101 101

  
102 102

  
103
2011-03-03T11:05:09.000000Z
103
2011-06-06T13:14:59.000000Z
104 104
0cd3093356b7034ee950ca327fc7aabc
105 105
2007-03-12T17:59:02.654744Z
106 106
333
......
134 134

  
135 135

  
136 136

  
137
2011-03-03T11:05:09.000000Z
137
2011-06-06T13:14:59.000000Z
138 138
69869e026dc6cbacc618214e4bb13b1b
139 139
2007-03-12T17:59:02.654744Z
140 140
333
......
168 168

  
169 169

  
170 170

  
171
2011-03-03T11:05:09.000000Z
172
491ead5828edb57adcd7333943656c94
173
2010-03-27T16:55:20.312262Z
174
3618
171
2011-06-06T13:18:33.000000Z
172
580d9b0753045bc89e5a92dfb9bccc65
173
2011-04-03T14:09:22.655792Z
174
5303
175 175
jplang
176 176
has-props
177 177

  
......
194 194

  
195 195

  
196 196

  
197
6469
197
6246
198 198

199 199
repositories_helper.rb
200 200
file
......
202 202

  
203 203

  
204 204

  
205
2011-03-03T11:40:18.000000Z
206
824b766582f7177458a587dcfcf980f5
207
2011-03-03T03:30:10.954225Z
208
4990
205
2011-06-06T13:18:33.000000Z
206
bb401adbfcec298b2731e4e1fc4fe652
207
2011-05-18T02:45:35.322493Z
208
5830
209 209
tmaruyama
210 210
has-props
211 211

  
......
228 228

  
229 229

  
230 230

  
231
9702
231
10966
232 232

233 233
admin_helper.rb
234 234
file
......
236 236

  
237 237

  
238 238

  
239
2011-03-03T11:05:09.000000Z
239
2011-06-06T13:14:59.000000Z
240 240
258ebc9ad13b3111585e5118ec607d1b
241 241
2010-09-10T23:07:10.817821Z
242 242
4080
......
270 270

  
271 271

  
272 272

  
273
2011-03-03T11:05:09.000000Z
274
19efbd2b30f44f233d5140437e2707a0
275
2010-08-08T07:07:20.961363Z
276
3924
277
jbbarth
273
2011-06-06T13:18:33.000000Z
274
a0bf71359447b66a404f8911ca669a1c
275
2011-05-18T11:13:02.791261Z
276
5849
277
tmaruyama
278 278
has-props
279 279

  
280 280

  
......
296 296

  
297 297

  
298 298

  
299
5204
299
5187
300 300

301 301
account_helper.rb
302 302
file
......
304 304

  
305 305

  
306 306

  
307
2011-03-03T11:05:09.000000Z
307
2011-06-06T13:14:59.000000Z
308 308
42d20ee00a3c45e3411634dbb09e2447
309 309
2007-03-12T17:59:02.654744Z
310 310
333
......
338 338

  
339 339

  
340 340

  
341
2011-03-03T11:05:09.000000Z
342
c8780c65337211f34097d74a8c3c9f6e
343
2010-08-26T16:37:26.575205Z
344
4046
345
edavis10
346

  
347

  
348

  
349

  
350

  
351

  
352

  
353

  
354

  
355

  
356

  
357

  
358

  
359

  
360

  
361

  
362

  
363

  
364

  
365

  
366

  
367
1462
341
2011-06-06T13:18:33.000000Z
342
3fc9041a6dc70d35c640c38cd1edbbc8
343
2011-04-03T14:01:32.419875Z
344
5301
345
jplang
346

  
347

  
348

  
349

  
350

  
351

  
352

  
353

  
354

  
355

  
356

  
357

  
358

  
359

  
360

  
361

  
362

  
363

  
364

  
365

  
366

  
367
1216
368 368

369 369
issue_categories_helper.rb
370 370
file
......
372 372

  
373 373

  
374 374

  
375
2011-03-03T11:05:09.000000Z
375
2011-06-06T13:14:59.000000Z
376 376
1257aafe6669c839ab46dac2b2732ae0
377 377
2007-03-12T17:59:02.654744Z
378 378
333
......
406 406

  
407 407

  
408 408

  
409
2011-03-03T11:05:09.000000Z
409
2011-06-06T13:14:59.000000Z
410 410
ceb0fce7a4c271df3ae182c29caf9c03
411 411
2007-03-12T17:59:02.654744Z
412 412
333
......
440 440

  
441 441

  
442 442

  
443
2011-03-03T11:40:18.000000Z
444
44832549db555bb9e047a67ae330f34a
445
2011-02-27T12:35:31.414622Z
446
4952
443
2011-06-06T13:18:33.000000Z
444
a93e6c0c0834a0700ecd23ba24bf4102
445
2011-03-10T19:44:32.117142Z
446
5080
447 447
jplang
448 448
has-props
449 449

  
......
466 466

  
467 467

  
468 468

  
469
1315
469
1407
470 470

471 471
enumerations_helper.rb
472 472
file
......
474 474

  
475 475

  
476 476

  
477
2011-03-03T11:05:09.000000Z
477
2011-06-06T13:14:59.000000Z
478 478
fc5ec20dd0ca3ce1d954b219417eff70
479 479
2007-03-12T17:59:02.654744Z
480 480
333
......
508 508

  
509 509

  
510 510

  
511
2011-03-03T11:40:18.000000Z
512
9dfadb196899bf96fdff7c7c34914e8c
513
2011-02-27T13:34:41.060565Z
514
4954
511
2011-06-06T13:18:33.000000Z
512
f2465c49d740ce016b80c6035d7df2c4
513
2011-05-18T02:45:59.814275Z
514
5831
515
tmaruyama
516
has-props
517

  
518

  
519

  
520

  
521

  
522

  
523

  
524

  
525

  
526

  
527

  
528

  
529

  
530

  
531

  
532

  
533

  
534

  
535

  
536

  
537
12736
538

539
gantt_helper.rb
540
file
541

  
542

  
543

  
544

  
545
2011-06-06T13:18:33.000000Z
546
65d9a1166814eb63d467373051bf0b62
547
2011-04-03T14:01:32.419875Z
548
5301
515 549
jplang
516
has-props
517

  
518

  
519

  
520

  
521

  
522

  
523

  
524

  
525

  
526

  
527

  
528

  
529

  
530

  
531

  
532

  
533

  
534

  
535

  
536

  
537
11599
550

  
551

  
552

  
553

  
554

  
555

  
556

  
557

  
558

  
559

  
560

  
561

  
562

  
563

  
564

  
565

  
566

  
567

  
568

  
569

  
570

  
571
1492
538 572

539 573
queries_helper.rb
540 574
file
......
542 576

  
543 577

  
544 578

  
545
2011-03-03T11:05:09.000000Z
546
6b997d023cc081b101be1949eb18f893
547
2010-11-07T15:38:51.908839Z
548
4387
579
2011-06-06T13:18:33.000000Z
580
ce7f38c9a8f2d85ae50a0555b7ec516f
581
2011-04-03T14:31:32.940784Z
582
5304
549 583
jplang
550 584
has-props
551 585

  
......
568 602

  
569 603

  
570 604

  
571
3722
572

573
gantt_helper.rb
574
file
575

  
576

  
577

  
578

  
579
2011-03-03T11:05:09.000000Z
580
dfac5226f31c3c232d7dcc9416172071
581
2010-10-23T09:08:55.877887Z
582
4283
583
jplang
584

  
585

  
586

  
587

  
588

  
589

  
590

  
591

  
592

  
593

  
594

  
595

  
596

  
597

  
598

  
599

  
600

  
601

  
602

  
603

  
604

  
605
1988
605
3795
606 606

607 607
mail_handler_helper.rb
608 608
file
......
610 610

  
611 611

  
612 612

  
613
2011-03-03T11:05:09.000000Z
613
2011-06-06T13:14:59.000000Z
614 614
c79faf6237abac40fabce0eacbfbb4cb
615 615
2008-06-25T19:25:28.386590Z
616 616
1584
......
644 644

  
645 645

  
646 646

  
647
2011-03-03T11:05:09.000000Z
648
fc71d3a83fe0178e0c6d9519c7a62dde
649
2010-03-13T17:45:41.194736Z
650
3579
647
2011-06-06T13:18:33.000000Z
648
809ed0d1d7e143a2b6f4c695781d4dc0
649
2011-04-05T12:09:15.508559Z
650
5320
651 651
jplang
652 652
has-props
653 653

  
......
670 670

  
671 671

  
672 672

  
673
2905
673
2688
674 674

675 675
my_helper.rb
676 676
file
......
678 678

  
679 679

  
680 680

  
681
2011-03-03T11:05:09.000000Z
681
2011-06-06T13:14:59.000000Z
682 682
d7134d76eff99aef107d8930903b10e0
683 683
2007-03-12T17:59:02.654744Z
684 684
333
......
712 712

  
713 713

  
714 714

  
715
2011-03-03T11:05:09.000000Z
715
2011-06-06T13:14:59.000000Z
716 716
cc94b2fd5c6a87acac13bbe6e91bd39a
717 717
2007-03-12T17:59:02.654744Z
718 718
333
......
746 746

  
747 747

  
748 748

  
749
2011-03-03T11:05:09.000000Z
749
2011-06-06T13:14:59.000000Z
750 750
2d03eb3683f312ec26736c696319ec76
751 751
2007-03-12T17:59:02.654744Z
752 752
333
......
774 774

  
775 775
817
776 776

777
workflows_helper.rb
778
file
779

  
780

  
781

  
782

  
783
2011-06-06T13:14:59.000000Z
784
4f7bcbe149363ecb18080e3ce6c3f761
785
2008-09-28T12:03:17.584169Z
786
1914
787
jplang
788
has-props
789

  
790

  
791

  
792

  
793

  
794

  
795

  
796

  
797

  
798

  
799

  
800

  
801

  
802

  
803

  
804

  
805

  
806

  
807

  
808

  
809
824
810

777 811
journals_helper.rb
778 812
file
779 813

  
780 814

  
781 815

  
782 816

  
783
2011-03-03T11:05:09.000000Z
817
2011-06-06T13:14:59.000000Z
784 818
b64edde44bceed7fb0911f87dba971aa
785 819
2010-09-05T22:57:20.669640Z
786 820
4062
......
808 842

  
809 843
2266
810 844

811
workflows_helper.rb
845
reports_helper.rb
812 846
file
813 847

  
814 848

  
815 849

  
816 850

  
817
2011-03-03T11:05:09.000000Z
818
4f7bcbe149363ecb18080e3ce6c3f761
819
2008-09-28T12:03:17.584169Z
820
1914
851
2011-06-06T13:18:33.000000Z
852
abbaa87dcc23e906723ca0778128bae4
853
2011-05-18T11:13:45.451188Z
854
5850
855
tmaruyama
856
has-props
857

  
858

  
859

  
860

  
861

  
862

  
863

  
864

  
865

  
866

  
867

  
868

  
869

  
870

  
871

  
872

  
873

  
874

  
875

  
876

  
877
1262
878

879
custom_fields_helper.rb
880
file
881

  
882

  
883

  
884

  
885
2011-06-06T13:18:33.000000Z
886
3aab3283e46880f443fed09b975f3d7f
887
2011-04-07T20:49:33.971753Z
888
5356
821 889
jplang
822 890
has-props
823 891

  
......
840 908

  
841 909

  
842 910

  
843
824
911
5840
844 912

845
reports_helper.rb
913
settings_helper.rb
846 914
file
847 915

  
848 916

  
849 917

  
850 918

  
851
2011-03-03T11:05:09.000000Z
852
9daafcfffa933849b3ee09fe5fd7b0cc
853
2007-08-13T17:00:59.400243Z
854
629
919
2011-06-06T13:18:33.000000Z
920
da8c43c261cd527067440f75a242c091
921
2011-05-29T12:06:05.086159Z
922
5961
855 923
jplang
856 924
has-props
857 925

  
......
874 942

  
875 943

  
876 944

  
877
1265
945
3937
878 946

879 947
timelog_helper.rb
880 948
file
......
882 950

  
883 951

  
884 952

  
885
2011-03-03T11:05:09.000000Z
953
2011-06-06T13:14:59.000000Z
886 954
1888fd2d4a1be5fa0d6ad8a63238e2b4
887 955
2010-04-30T12:18:11.536180Z
888 956
3708
......
910 978

  
911 979
6636
912 980

913
settings_helper.rb
914
file
915

  
916

  
917

  
918

  
919
2011-03-03T11:05:09.000000Z
920
868d0dc19e332ae2c817321637a8e31f
921
2010-09-28T21:09:06.467392Z
922
4222
923
edavis10
924
has-props
925

  
926

  
927

  
928

  
929

  
930

  
931

  
932

  
933

  
934

  
935

  
936

  
937

  
938

  
939

  
940

  
941

  
942

  
943

  
944

  
945
3858
946

947
custom_fields_helper.rb
948
file
949

  
950

  
951

  
952

  
953
2011-03-03T11:05:09.000000Z
954
19a8f1c143030c42136fe167f167db15
955
2010-12-10T10:12:19.202442Z
956
4480
957
jplang
958
has-props
959

  
960

  
961

  
962

  
963

  
964

  
965

  
966

  
967

  
968

  
969

  
970

  
971

  
972

  
973

  
974

  
975

  
976

  
977

  
978

  
979
5702
980

981
issue_moves_helper.rb
982
file
983

  
984

  
985

  
986

  
987
2011-03-03T11:05:09.000000Z
988
66e99bd3af036c92a773a91e92a725f9
989
2010-08-11T14:42:10.119704Z
990
3936
991
edavis10
992

  
993

  
994

  
995

  
996

  
997

  
998

  
999

  
1000

  
1001

  
1002

  
1003

  
1004

  
1005

  
1006

  
1007

  
1008

  
1009

  
1010

  
1011

  
1012

  
1013
28
1014

1015 981
users_helper.rb
1016 982
file
1017 983

  
1018 984

  
1019 985

  
1020 986

  
1021
2011-03-03T11:05:09.000000Z
987
2011-06-06T13:14:59.000000Z
1022 988
1bedb4287035a6f89074da0b37640c28
1023 989
2010-12-12T14:25:23.262992Z
1024 990
4497
......
1046 1012

  
1047 1013
2767
1048 1014

1015
issue_moves_helper.rb
1016
file
1017

  
1018

  
1019

  
1020

  
1021
2011-06-06T13:14:59.000000Z
1022
66e99bd3af036c92a773a91e92a725f9
1023
2010-08-11T14:42:10.119704Z
1024
3936
1025
edavis10
1026

  
1027

  
1028

  
1029

  
1030

  
1031

  
1032

  
1033

  
1034

  
1035

  
1036

  
1037

  
1038

  
1039

  
1040

  
1041

  
1042

  
1043

  
1044

  
1045

  
1046

  
1047
28
1048

1049 1049
application_helper.rb
1050 1050
file
1051 1051

  
1052 1052

  
1053 1053

  
1054 1054

  
1055
2011-03-03T11:40:18.000000Z
1056
9d39fe6e2dd4535f7a006a77150961bc
1057
2011-02-21T09:53:29.844413Z
1058
4900
1059
jplang
1055
2011-06-06T13:18:33.000000Z
1056
639bb5f1e90caa8a4d6bb8029ab55905
1057
2011-05-18T02:46:24.994751Z
1058
5832
1059
tmaruyama
1060 1060
has-props
1061 1061

  
1062 1062

  
......
1078 1078

  
1079 1079

  
1080 1080

  
1081
36020
1081
35515
1082 1082

1083 1083
auth_sources_helper.rb
1084 1084
file
......
1086 1086

  
1087 1087

  
1088 1088

  
1089
2011-03-03T11:05:09.000000Z
1089
2011-06-06T13:14:59.000000Z
1090 1090
19759b6e665f9063140da8ac473d9e31
1091 1091
2007-03-12T17:59:02.654744Z
1092 1092
333
......
1120 1120

  
1121 1121

  
1122 1122

  
1123
2011-03-03T11:05:09.000000Z
1123
2011-06-06T13:14:59.000000Z
1124 1124
dedb3c62af67e076703aa2f60c97fb2b
1125 1125
2010-11-01T12:55:15.292443Z
1126 1126
4353
......
1154 1154

  
1155 1155

  
1156 1156

  
1157
2011-03-03T11:05:09.000000Z
1157
2011-06-06T13:14:59.000000Z
1158 1158
d083581ae234853db09e79e4e88d6ad3
1159 1159
2011-01-23T17:02:10.030897Z
1160 1160
4760
......
1188 1188

  
1189 1189

  
1190 1190

  
1191
2011-03-03T11:05:09.000000Z
1191
2011-06-06T13:14:59.000000Z
1192 1192
fef3a97e6644b418b44f9551aa65af95
1193 1193
2007-05-05T13:22:27.245135Z
1194 1194
506
......
1222 1222

  
1223 1223

  
1224 1224

  
1225
2011-03-03T11:05:09.000000Z
1226
fd18226266f3e53f6af000ac07a13313
1227
2007-12-07T10:26:07.864320Z
1228
955
1225
2011-06-06T13:18:33.000000Z
1226
18e0206c3b8a4fb260548f58b75c7fa9
1227
2011-03-20T21:09:48.299058Z
1228
5180
1229 1229
jplang
1230 1230
has-props
1231 1231

  
......
1248 1248

  
1249 1249

  
1250 1250

  
1251
2170
1251
2151
1252 1252

1253 1253
boards_helper.rb
1254 1254
file
......
1256 1256

  
1257 1257

  
1258 1258

  
1259
2011-03-03T11:05:09.000000Z
1259
2011-06-06T13:14:59.000000Z
1260 1260
0ca8f33522734ee0417089366037a7cb
1261 1261
2007-05-13T17:09:56.765659Z
1262 1262
529
......
1290 1290

  
1291 1291

  
1292 1292

  
1293
2011-03-03T11:05:09.000000Z
1294
58bc2391be7fedbf3e55ef07454cb04c
1295
2011-01-01T19:12:35.568700Z
1296
4605
1297
jplang
1293
2011-06-06T13:18:33.000000Z
1294
a2546fe896ad77351ab052f113afd012
1295
2011-05-07T05:51:39.224805Z
1296
5681
1297
tmaruyama
1298 1298
has-props
1299 1299

  
1300 1300

  
......
1316 1316

  
1317 1317

  
1318 1318

  
1319
1743
1319
1731
1320 1320

1321 1321
news_helper.rb
1322 1322
file
......
1324 1324

  
1325 1325

  
1326 1326

  
1327
2011-03-03T11:05:09.000000Z
1327
2011-06-06T13:14:59.000000Z
1328 1328
d808f6794a2fa7cd059ed56d5c8d1b28
1329 1329
2007-03-12T17:59:02.654744Z
1330 1330
333
app/helpers/.svn/text-base/application_helper.rb.svn-base
1 1
# Redmine - project management software
2
# Copyright (C) 2006-2010  Jean-Philippe Lang
2
# Copyright (C) 2006-2011  Jean-Philippe Lang
3 3
#
4 4
# This program is free software; you can redistribute it and/or
5 5
# modify it under the terms of the GNU General Public License
......
63 63

  
64 64
  # Displays a link to +issue+ with its subject.
65 65
  # Examples:
66
  # 
66
  #
67 67
  #   link_to_issue(issue)                        # => Defect #6: This is the subject
68 68
  #   link_to_issue(issue, :truncate => 6)        # => Defect #6: This i...
69 69
  #   link_to_issue(issue, :subject => false)     # => Defect #6
......
80 80
        subject = truncate(subject, :length => options[:truncate])
81 81
      end
82 82
    end
83
    s = link_to "#{issue.tracker} ##{issue.id}", {:controller => "issues", :action => "show", :id => issue}, 
83
    s = link_to "#{issue.tracker} ##{issue.id}", {:controller => "issues", :action => "show", :id => issue},
84 84
                                                 :class => issue.css_classes,
85 85
                                                 :title => title
86 86
    s << ": #{h subject}" if subject
......
109 109
    link_to(text, {:controller => 'repositories', :action => 'revision', :id => project, :rev => rev},
110 110
            :title => l(:label_revision_id, format_revision(revision)))
111 111
  end
112
  
112

  
113 113
  # Generates a link to a message
114 114
  def link_to_message(message, options={}, html_options = nil)
115 115
    link_to(
......
126 126

  
127 127
  # Generates a link to a project if active
128 128
  # Examples:
129
  # 
129
  #
130 130
  #   link_to_project(project)                          # => link to the specified project overview
131 131
  #   link_to_project(project, :action=>'settings')     # => link to project settings
132 132
  #   link_to_project(project, {:only_path => false}, :class => "project") # => 3rd arg adds html options
......
160 160
    html_options[:onclick] = "promptToRemote('#{text}', '#{param}', '#{url_for(url)}'); return false;"
161 161
    link_to name, {}, html_options
162 162
  end
163
  
163

  
164 164
  def format_activity_title(text)
165 165
    h(truncate_single_line(text, :length => 100))
166 166
  end
167
  
167

  
168 168
  def format_activity_day(date)
169 169
    date == Date.today ? l(:label_today).titleize : format_date(date)
170 170
  end
171
  
171

  
172 172
  def format_activity_description(text)
173 173
    h(truncate(text.to_s, :length => 120).gsub(%r{[\r\n]*<(pre|code)>.*$}m, '...')).gsub(/[\r\n]+/, "<br />")
174 174
  end
......
180 180
      h("#{version.project} - #{version}")
181 181
    end
182 182
  end
183
  
183

  
184 184
  def due_date_distance_in_words(date)
185 185
    if date
186 186
      l((date < Date.today ? :label_roadmap_overdue : :label_roadmap_due_in), distance_of_date_in_words(Date.today, date))
187 187
    end
188 188
  end
189 189

  
190
  def render_page_hierarchy(pages, node=nil)
190
  def render_page_hierarchy(pages, node=nil, options={})
191 191
    content = ''
192 192
    if pages[node]
193 193
      content << "<ul class=\"pages-hierarchy\">\n"
194 194
      pages[node].each do |page|
195 195
        content << "<li>"
196 196
        content << link_to(h(page.pretty_title), {:controller => 'wiki', :action => 'show', :project_id => page.project, :id => page.title},
197
                           :title => (page.respond_to?(:updated_on) ? l(:label_updated_time, distance_of_time_in_words(Time.now, page.updated_on)) : nil))
198
        content << "\n" + render_page_hierarchy(pages, page.id) if pages[page.id]
197
                           :title => (options[:timestamp] && page.updated_on ? l(:label_updated_time, distance_of_time_in_words(Time.now, page.updated_on)) : nil))
198
        content << "\n" + render_page_hierarchy(pages, page.id, options) if pages[page.id]
199 199
        content << "</li>\n"
200 200
      end
201 201
      content << "</ul>\n"
202 202
    end
203 203
    content
204 204
  end
205
  
205

  
206 206
  # Renders flash messages
207 207
  def render_flash_messages
208 208
    s = ''
......
211 211
    end
212 212
    s
213 213
  end
214
  
214

  
215 215
  # Renders tabs and their content
216 216
  def render_tabs(tabs)
217 217
    if tabs.any?
......
220 220
      content_tag 'p', l(:label_no_data), :class => "nodata"
221 221
    end
222 222
  end
223
  
223

  
224 224
  # Renders the project quick-jump box
225 225
  def render_project_jump_box
226
    # Retrieve them now to avoid a COUNT query
227
    projects = User.current.projects.all
226
    return unless User.current.logged?
227
    projects = User.current.memberships.collect(&:project).compact.uniq
228 228
    if projects.any?
229 229
      s = '<select onchange="if (this.value != \'\') { window.location = this.value; }">' +
230 230
            "<option value=''>#{ l(:label_jump_to_a_project) }</option>" +
......
236 236
      s
237 237
    end
238 238
  end
239
  
239

  
240 240
  def project_tree_options_for_select(projects, options = {})
241 241
    s = ''
242 242
    project_tree(projects) do |project, level|
......
252 252
    end
253 253
    s
254 254
  end
255
  
255

  
256 256
  # Yields the given block for each project with its level in the tree
257 257
  #
258 258
  # Wrapper for Project#project_tree
259 259
  def project_tree(projects, &block)
260 260
    Project.project_tree(projects, &block)
261 261
  end
262
  
262

  
263 263
  def project_nested_ul(projects, &block)
264 264
    s = ''
265 265
    if projects.any?
......
270 270
        else
271 271
          ancestors.pop
272 272
          s << "</li>"
273
          while (ancestors.any? && !project.is_descendant_of?(ancestors.last)) 
273
          while (ancestors.any? && !project.is_descendant_of?(ancestors.last))
274 274
            ancestors.pop
275 275
            s << "</ul></li>\n"
276 276
          end
......
283 283
    end
284 284
    s
285 285
  end
286
  
286

  
287 287
  def principals_check_box_tags(name, principals)
288 288
    s = ''
289 289
    principals.sort.each do |principal|
290 290
      s << "<label>#{ check_box_tag name, principal.id, false } #{h principal}</label>\n"
291 291
    end
292
    s 
292
    s
293 293
  end
294 294

  
295 295
  # Truncates and returns the string as a single line
296 296
  def truncate_single_line(string, *args)
297 297
    truncate(string.to_s, *args).gsub(%r{[\r\n]+}m, ' ')
298 298
  end
299
  
299

  
300 300
  # Truncates at line break after 250 characters or options[:length]
301 301
  def truncate_lines(string, options={})
302 302
    length = options[:length] || 250
......
314 314
  def authoring(created, author, options={})
315 315
    l(options[:label] || :label_added_time_by, :author => link_to_user(author), :age => time_tag(created))
316 316
  end
317
  
317

  
318 318
  def time_tag(time)
319 319
    text = distance_of_time_in_words(Time.now, time)
320 320
    if @project
......
336 336
    page_param = options.delete(:page_param) || :page
337 337
    per_page_links = options.delete(:per_page_links)
338 338
    url_param = params.dup
339
    # don't reuse query params if filters are present
340
    url_param.merge!(:fields => nil, :values => nil, :operators => nil) if url_param.delete(:set_filter)
341 339

  
342 340
    html = ''
343 341
    if paginator.current.previous
344
      html << link_to_remote_content_update('&#171; ' + l(:label_previous), url_param.merge(page_param => paginator.current.previous)) + ' '
342
      html << link_to_content_update('&#171; ' + l(:label_previous), url_param.merge(page_param => paginator.current.previous)) + ' '
345 343
    end
346 344

  
347 345
    html << (pagination_links_each(paginator, options) do |n|
348
      link_to_remote_content_update(n.to_s, url_param.merge(page_param => n))
346
      link_to_content_update(n.to_s, url_param.merge(page_param => n))
349 347
    end || '')
350
    
348

  
351 349
    if paginator.current.next
352
      html << ' ' + link_to_remote_content_update((l(:label_next) + ' &#187;'), url_param.merge(page_param => paginator.current.next))
350
      html << ' ' + link_to_content_update((l(:label_next) + ' &#187;'), url_param.merge(page_param => paginator.current.next))
353 351
    end
354 352

  
355 353
    unless count.nil?
......
361 359

  
362 360
    html
363 361
  end
364
  
362

  
365 363
  def per_page_links(selected=nil)
366
    url_param = params.dup
367
    url_param.clear if url_param.has_key?(:set_filter)
368

  
369 364
    links = Setting.per_page_options_array.collect do |n|
370
      n == selected ? n : link_to_remote(n, {:update => "content",
371
                                             :url => params.dup.merge(:per_page => n),
372
                                             :method => :get},
373
                                            {:href => url_for(url_param.merge(:per_page => n))})
365
      n == selected ? n : link_to_content_update(n, params.merge(:per_page => n))
374 366
    end
375 367
    links.size > 1 ? l(:label_display_per_page, links.join(', ')) : nil
376 368
  end
377
  
369

  
378 370
  def reorder_links(name, url)
379 371
    link_to(image_tag('2uparrow.png',   :alt => l(:label_sort_highest)), url.merge({"#{name}[move_to]" => 'highest'}), :method => :post, :title => l(:label_sort_highest)) +
380 372
    link_to(image_tag('1uparrow.png',   :alt => l(:label_sort_higher)),  url.merge({"#{name}[move_to]" => 'higher'}),  :method => :post, :title => l(:label_sort_higher)) +
......
386 378
    elements = args.flatten
387 379
    elements.any? ? content_tag('p', args.join(' &#187; ') + ' &#187; ', :class => 'breadcrumb') : nil
388 380
  end
389
  
381

  
390 382
  def other_formats_links(&block)
391 383
    concat('<p class="other-formats">' + l(:label_export_to))
392 384
    yield Redmine::Views::OtherFormatsBuilder.new(self)
393 385
    concat('</p>')
394 386
  end
395
  
387

  
396 388
  def page_header_title
397 389
    if @project.nil? || @project.new_record?
398 390
      h(Setting.app_title)
399 391
    else
400 392
      b = []
401
      ancestors = (@project.root? ? [] : @project.ancestors.visible)
393
      ancestors = (@project.root? ? [] : @project.ancestors.visible.all)
402 394
      if ancestors.any?
403 395
        root = ancestors.shift
404 396
        b << link_to_project(root, {:jump => current_menu_item}, :class => 'root')
......
465 457
    only_path = options.delete(:only_path) == false ? false : true
466 458

  
467 459
    text = Redmine::WikiFormatting.to_html(Setting.text_formatting, text, :object => obj, :attribute => attr) { |macro, args| exec_macro(macro, obj, args) }
468
    
460

  
469 461
    @parsed_headings = []
470 462
    text = parse_non_pre_blocks(text) do |text|
471 463
      [:parse_inline_attachments, :parse_wiki_links, :parse_redmine_links, :parse_headings].each do |method_name|
472 464
        send method_name, text, project, obj, attr, only_path, options
473 465
      end
474 466
    end
475
    
467

  
476 468
    if @parsed_headings.any?
477 469
      replace_toc(text, @parsed_headings)
478 470
    end
479
    
471

  
480 472
    text
481 473
  end
482
  
474

  
483 475
  def parse_non_pre_blocks(text)
484 476
    s = StringScanner.new(text)
485 477
    tags = []
......
508 500
    end
509 501
    parsed
510 502
  end
511
  
503

  
512 504
  def parse_inline_attachments(text, project, obj, attr, only_path, options)
513 505
    # when using an image link, try to use an attachment, if possible
514 506
    if options[:attachments] || (obj && obj.respond_to?(:attachments))
515 507
      attachments = nil
516 508
      text.gsub!(/src="([^\/"]+\.(bmp|gif|jpg|jpeg|png))"(\s+alt="([^"]*)")?/i) do |m|
517
        filename, ext, alt, alttext = $1.downcase, $2, $3, $4 
509
        filename, ext, alt, alttext = $1.downcase, $2, $3, $4
518 510
        attachments ||= (options[:attachments] || obj.attachments).sort_by(&:created_on).reverse
519 511
        # search for the picture in attachments
520 512
        if found = attachments.detect { |att| att.filename.downcase == filename }
......
577 569
      end
578 570
    end
579 571
  end
580
  
572

  
581 573
  # Redmine links
582 574
  #
583 575
  # Examples:
......
700 692
      leading + (link || "#{project_prefix}#{prefix}#{sep}#{identifier}")
701 693
    end
702 694
  end
703
  
695

  
704 696
  HEADING_RE = /<h(1|2|3|4)( [^>]+)?>(.+?)<\/h(1|2|3|4)>/i unless const_defined?(:HEADING_RE)
705
  
697

  
706 698
  # Headings and TOC
707 699
  # Adds ids and links to headings unless options[:headings] is set to false
708 700
  def parse_headings(text, project, obj, attr, only_path, options)
709 701
    return if options[:headings] == false
710
    
702

  
711 703
    text.gsub!(HEADING_RE) do
712 704
      level, attrs, content = $1.to_i, $2, $3
713 705
      item = strip_tags(content).strip
714 706
      anchor = item.gsub(%r{[^\w\s\-]}, '').gsub(%r{\s+(\-+\s*)?}, '-')
715 707
      @parsed_headings << [level, anchor, item]
716
      "<h#{level} #{attrs} id=\"#{anchor}\">#{content}<a href=\"##{anchor}\" class=\"wiki-anchor\">&para;</a></h#{level}>"
708
      "<a name=\"#{anchor}\"></a>\n<h#{level} #{attrs}>#{content}<a href=\"##{anchor}\" class=\"wiki-anchor\">&para;</a></h#{level}>"
717 709
    end
718 710
  end
719
          
711

  
720 712
  TOC_RE = /<p>\{\{([<>]?)toc\}\}<\/p>/i unless const_defined?(:TOC_RE)
721
  
713

  
722 714
  # Renders the TOC with given headings
723 715
  def replace_toc(text, headings)
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff