add foodcoop configuration screen
This commit is contained in:
parent
dd3ac0971c
commit
7b000c39eb
20 changed files with 562 additions and 12 deletions
16
app/views/admin/configs/list.html.haml
Normal file
16
app/views/admin/configs/list.html.haml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
- title t('.title'), false
|
||||
|
||||
= render 'tabs'
|
||||
|
||||
%table.table
|
||||
%thead
|
||||
%tr
|
||||
%th= t '.key'
|
||||
%th= t '.value'
|
||||
%tbody
|
||||
- @keys.each do |key|
|
||||
%tr
|
||||
%td
|
||||
%tt= key
|
||||
%td{style: if @cfg[key] != @dfl[key] then 'font-weight: bold' end}
|
||||
= show_config_value key, @cfg[key]
|
||||
Loading…
Add table
Add a link
Reference in a new issue