OSDN Git Service

def6fec596e3208c11952069620c4371b7fd2e9b
[quickedit/quick_view.git] / app / views / quick_view_issues / _settings.html.erb
1 <table>
2   <tr>
3     <th>Issue dialog size:</th>
4     <td>
5       <input type="size" id="settings_issue_dialog_size" name="settings[issue_dialog_size]" value="<%= settings['issue_dialog_size'] %>"></input>
6     </td>
7     <td>
8     </td>
9   </tr>
10   <tr>
11     <th>Disable call_hook:</th>
12     <td>
13       <input type="checkbox" id="settings_disable_call_hook" name="settings[disable_call_hook]" value="<%= settings['disable_call_hook'] %>"></input>
14     </td>
15     <td>
16     </td>
17   </tr>
18   <tr>
19     <th>Issue tooltip enabled:</th>
20     <td>
21       <input type="checkbox" id="settings_issue_tooltip_enabled" name="settings[issue_tooltip_enabled]" <%= settings['issue_tooltip_enabled'] == "on" ? "checked" : "" %>></input>
22     </td>
23     <td style="color: red;">
24       <%= l(:server_load_increase) %>
25     </td>
26   </tr>
27   <tr>
28     <th>Tooltip attributes:</th>
29     <td>
30       <select id="settings_tooltip_attrs" name="settings[tooltip_attributes][]" multiple size="14">
31         <%= options_for_select [:avatar, :project, :subject, :status, :priority, :category, :fixed_version, :assigned_to, :start_date, :due_date, :done_ratio, :estimated_hours, :spent_time, :description],
32               settings['tooltip_attributes'] %>
33       </select>
34     </td>
35     <td style="color: red;">
36       <%= l(:server_load_increase) %>
37     </td>
38   </tr>
39   <tr>
40     <th>WorkTime Extension(dialog anchor) enabled:</th>
41     <td>
42       <input type="checkbox" id="settings_worktime_ext_dialog_anchor_enabled" name="settings[worktime_ext_dialog_anchor_enabled]" <%= settings['worktime_ext_dialog_anchor_enabled'] == "on" ? "checked" : "" %>></input>
43     </td>
44     <td>
45     </td>
46   </tr>
47   <tr>
48     <th>WorkTime Extension(tooltip) enabled:</th>
49     <td>
50       <input type="checkbox" id="settings_worktime_ext_tooltip_enabled" name="settings[worktime_ext_tooltip_enabled]" <%= settings['worktime_ext_tooltip_enabled']  == "on" ? "checked" : "" %>></input>
51     </td>
52     <td style="color: red;">
53       <%= l(:server_load_increase) %>
54     </td>
55   </tr>
56 </table>