Show More
Commit Description:
Implement list_all action for message console
Commit Description:
Implement list_all action for message console
References:
File last commit:
Show/Diff file:
Action:
app/views/configurations/index.html.haml
| 29 lines
| 845 B
| text/x-haml
| HamlLexer
|
|
r162 | %h1 System configuration | ||
|
r76 | |||
|
r77 | %table.info | ||
%tr.info-head | ||||
|
r76 | %th Key | ||
%th Type | ||||
%th Value | ||||
|
r269 | %th Description | ||
|
r76 | - @configurations.each do |conf| | ||
|
r330 | - @grader_configuration = conf | ||
|
r269 | %tr{:class => cycle("info-odd", "info-even")} | ||
|
r76 | %td | ||
|
r330 | = in_place_editor_field :grader_configuration, :key, {}, :rows=>1 | ||
|
r76 | %td | ||
|
r330 | = in_place_editor_field :grader_configuration, :value_type, {}, :rows=>1 | ||
|
r76 | %td | ||
|
r330 | = in_place_editor_field :grader_configuration, :value, {}, :rows=>1 | ||
|
r269 | %td= conf.description | ||
|
r76 | |||
|
r320 | - if GraderConfiguration.config_cached? | ||
|
r162 | %br/ | ||
Your config is saved, but it does not automatically take effect. | ||||
%br/ | ||||
If you have one mongrel process running, you can | ||||
= link_to '[click]', :action => 'reload' | ||||
here to reload. | ||||
%br/ | ||||
If you have more than one process running, you should restart | ||||
them manually. | ||||