20
20
< tbody >
21
21
<% rows = @reportarray [ 1 ]
22
22
for arow in rows do
23
- cls_rest = cycle ( "bg5" , "bg4" , :name => 'rest_cols' )
24
- cls_col_1 = cycle ( "bg8" , "bg7" , :name => 'first_col' )
23
+ cls_rest = cycle ( "bg5" , "bg4" , :name => 'rest_cols' )
24
+ cls_col_1 = cycle ( "bg8" , "bg7" , :name => 'first_col' )
25
25
%>
26
- < tr >
27
- <!-- The following two lines of Ruby are to pop off the first three
28
- elements which contain the first name, last name & username -->
29
- < td class ="b1 <%= cls_col_1 %> "> <%= arow . shift %> </ td >
30
- < td class ="b1 <%= cls_col_1 %> "> <%= arow . shift %> </ td >
31
- < td class ="b1 <%= cls_col_1 %> "> <%= arow . shift %> </ td >
26
+ < tr >
27
+ <!-- The following two lines of Ruby are to pop off the first three
28
+ elements which contain the first name, last name & username -->
29
+ < td class ="b1 <%= cls_col_1 %> "> <%= arow . shift %> </ td >
30
+ < td class ="b1 <%= cls_col_1 %> "> <%= arow . shift %> </ td >
31
+ < td class ="b1 <%= cls_col_1 %> "> <%= format_email ( arow . shift ) %> </ td >
32
+
32
33
33
- <% for aval in arow do %>
34
- < td class ="b1 datacenter <%= cls_rest %> "> <%= aval %> </ td >
35
- <% end %>
36
- </ tr >
34
+ <% for aval in arow do %>
35
+ < td class ="b1 datacenter <%= cls_rest %> "> <%= aval %> </ td >
36
+ <% end %>
37
+ </ tr >
37
38
<% end %>
38
39
39
40
</ tbody >
@@ -55,7 +56,7 @@ $(function() {
55
56
"bJQueryUI" : true ,
56
57
"bPaginate" : true ,
57
58
"aaSorting" : [ [ 1 , "asc" ] ] ,
58
- "aoColumns" : [ null , null , null , { "sType" : "numeric" } , { "sType" : "numeric" } , { "sType" : "numeric" } , { "sType" : "numeric" } , { "sType" : "numeric" } , { "sType" : "numeric" } , { "sType" : "numeric" } , { "sType" : "numeric" } , { "sType" : "numeric" } , { "sType" : "numeric" } , { "sType" : "numeric" } , { "sType" : "numeric" } , { "sType" : "numeric" } , { "sType" : "numeric" } , { "sType" : "numeric" } ] ,
59
+ "aoColumns" : [ null , null , { "sType" : "noSel" , "sWidth" : "200" } , { "sType" : "numeric" } , { "sType" : "numeric" } , { "sType" : "numeric" } , { "sType" : "numeric" } , { "sType" : "numeric" } , { "sType" : "numeric" } , { "sType" : "numeric" } , { "sType" : "numeric" } , { "sType" : "numeric" } , { "sType" : "numeric" } , { "sType" : "numeric" } , { "sType" : "numeric" } , { "sType" : "numeric" } , { "sType" : "numeric" } , { "sType" : "numeric" } ] ,
59
60
"iDisplayLength" : 25 ,
60
61
"sPaginationType" : "full_numbers"
61
62
} ) ;
0 commit comments