Fixed admin, orders, wiki views. Converted all erb to haml.
This commit is contained in:
parent
699fb9b233
commit
552c553b77
169 changed files with 1158 additions and 1307 deletions
46
app/views/ordergroups/index.html.haml
Normal file
46
app/views/ordergroups/index.html.haml
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
- title "Ordergroups"
|
||||
%table
|
||||
%tr
|
||||
%th Type
|
||||
%th Name
|
||||
%th Description
|
||||
%th Account Balance
|
||||
%th Account Updated
|
||||
%th Created On
|
||||
%th Role Admin
|
||||
%th Role Suppliers
|
||||
%th Role Article Meta
|
||||
%th Role Finance
|
||||
%th Role Orders
|
||||
%th Weekly Task
|
||||
%th Weekday
|
||||
%th Task Name
|
||||
%th Task Description
|
||||
%th Task Required Users
|
||||
%th Deleted At
|
||||
%th Contact Person
|
||||
%th Contact Phone
|
||||
%th Contact Address
|
||||
- for ordergroup in @ordergroups
|
||||
%tr
|
||||
%td= h ordergroup.type
|
||||
%td= h ordergroup.name
|
||||
%td= h ordergroup.description
|
||||
%td= h ordergroup.account_balance
|
||||
%td= h ordergroup.account_updated
|
||||
%td= h ordergroup.created_on
|
||||
%td= h ordergroup.role_admin
|
||||
%td= h ordergroup.role_suppliers
|
||||
%td= h ordergroup.role_article_meta
|
||||
%td= h ordergroup.role_finance
|
||||
%td= h ordergroup.role_orders
|
||||
%td= h ordergroup.weekly_task
|
||||
%td= h ordergroup.weekday
|
||||
%td= h ordergroup.task_name
|
||||
%td= h ordergroup.task_description
|
||||
%td= h ordergroup.task_required_users
|
||||
%td= h ordergroup.deleted_at
|
||||
%td= h ordergroup.contact_person
|
||||
%td= h ordergroup.contact_phone
|
||||
%td= h ordergroup.contact_address
|
||||
%td= link_to "Edit", edit_ordergroup_path(ordergroup)
|
||||
Loading…
Add table
Add a link
Reference in a new issue