|
14 | 14 |
|
15 | 15 | <table class="box view_customize"> |
16 | 16 | <tr> |
17 | | - <th><%=h l(:field_path_pattern) %>:</th> |
| 17 | + <th><%=h l(:field_path_pattern) %></th> |
18 | 18 | <td><%=h @view_customize.path_pattern %></td> |
19 | 19 | </tr> |
20 | 20 | <tr> |
21 | | - <th><%=h l(:field_insertion_position) %>:</th> |
| 21 | + <th><%=h l(:field_insertion_position) %></th> |
22 | 22 | <td><%=h l(@view_customize.insertion_position_label) %></td> |
23 | 23 | </tr> |
24 | 24 | <tr> |
25 | | - <th><%=h l(:field_customize_type) %>:</th> |
| 25 | + <th><%=h l(:field_customize_type) %></th> |
26 | 26 | <td><%=h l(@view_customize.customize_type_label) %></td> |
27 | 27 | </tr> |
28 | 28 | <tr> |
29 | | - <th><%=h l(:field_code) %>:</th> |
30 | | - <td><%= highlight_by_language( |
31 | | - @view_customize.code, @view_customize.is_javascript? ? :js : :css) %></td> |
| 29 | + <th><%=h l(:field_code) %></th> |
| 30 | + <td><div><%= highlight_by_language( |
| 31 | + @view_customize.code, @view_customize.is_javascript? ? :js : :css) %></div></td> |
32 | 32 | </tr> |
33 | 33 | <tr> |
34 | | - <th><%=h l(:field_comments) %>:</th> |
| 34 | + <th><%=h l(:field_comments) %></th> |
35 | 35 | <td><%=h @view_customize.comments %></td> |
36 | 36 | </tr> |
37 | 37 | <tr> |
38 | | - <th><%=h l(:field_is_enabled) %>:</th> |
| 38 | + <th><%=h l(:field_is_enabled) %></th> |
39 | 39 | <td><%=h @view_customize.is_enabled ? l(:general_text_yes) : l(:general_text_no) %></td> |
40 | 40 | </tr> |
41 | 41 | <tr> |
42 | | - <th><%=h l(:field_is_private) %>:</th> |
| 42 | + <th><%=h l(:field_is_private) %></th> |
43 | 43 | <td><%=h @view_customize.is_private ? l(:general_text_yes) : l(:general_text_no) %></td> |
44 | 44 | </tr> |
45 | 45 | <tr> |
46 | | - <th><%=h l(:field_author) %>:</th> |
| 46 | + <th><%=h l(:field_author) %></th> |
47 | 47 | <td><%=h @view_customize.author.name unless @view_customize.author == nil %></td> |
48 | 48 | </tr> |
49 | 49 | </table> |
0 commit comments