|
1 | 1 | <div class="form-group form-inline"> |
| 2 | + <% |
| 3 | + options = [["Select query ...","none"], |
| 4 | + ["Content Statistics","contents"], |
| 5 | + ["Activity Statistics","activity"], |
| 6 | + ["Search Statistics","search"], |
| 7 | + ["Job queue","job_queue"], |
| 8 | + ["Auth table consistency","auth_consistency"] |
| 9 | + ] |
| 10 | + options = options | [["Workflow Statistics", "workflow_stats"]] if Seek::Config.workflows_enabled |
| 11 | + %> |
| 12 | + |
2 | 13 | <%= select_tag :stats_query, |
3 | | - options_for_select([["Select query ...","none"], |
4 | | - ["Content Statistics","contents"], |
5 | | - ["Activity Statistics","activity"], |
6 | | - ["Search Statistics","search"], |
7 | | - ["Job queue","job_queue"], |
8 | | - ["Auth table consistency","auth_consistency"], |
9 | | - ["Monthly User Statistics", "monthly_stats"], |
10 | | - ["Workflow Statistics", "workflow_stats"] |
11 | | - ],:length=>10), |
| 14 | + options_for_select(options,:length=>10), |
12 | 15 | {:class => 'form-control', |
13 | 16 | :onchange=>remote_function(:url=>get_stats_admin_path(:element=>"stats_list"), |
14 | 17 | :with=>"'id='+this.value", |
|
0 commit comments