Show More
Commit Description:
shows problems availabe in contests
Commit Description:
shows problems availabe in contests
References:
File last commit:
Show/Diff file:
Action:
app/views/configurations/index.html.haml
| 32 lines
| 864 B
| text/x-haml
| HamlLexer
|
|
r76 | - content_for :head do | ||
= javascript_include_tag :defaults | ||||
|
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| | ||
- @configuration = conf | ||||
|
r269 | %tr{:class => cycle("info-odd", "info-even")} | ||
|
r76 | %td | ||
= in_place_editor_field :configuration, :key, {}, :rows=>1 | ||||
%td | ||||
= in_place_editor_field :configuration, :value_type, {}, :rows=>1 | ||||
%td | ||||
= in_place_editor_field :configuration, :value, {}, :rows=>1 | ||||
|
r269 | %td= conf.description | ||
|
r76 | |||
|
r162 | - if Configuration.cache? | ||
%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. | ||||