mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Merge pull request #3817 from kristinalim/fix/1218-remove_oc_debug_information
1218 Remove OC "Debug Information" which appears in non-production environments
This commit is contained in:
@@ -154,19 +154,6 @@ form.order_cycle {
|
||||
.actions {
|
||||
margin-top: 3em;
|
||||
}
|
||||
|
||||
/* This styling makes it easier to read the debug info at the same time as working with the
|
||||
* interface, but it breaks the tests. Enable when you need it.
|
||||
#order-cycles-debug {
|
||||
position: fixed;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
height: 100%;
|
||||
width: 316px;
|
||||
overflow-y: scroll;
|
||||
background-color: #fff;
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
table#listing_order_cycles {
|
||||
|
||||
@@ -47,17 +47,3 @@
|
||||
|
||||
.actions
|
||||
%span{'ng-hide' => 'loaded()'}= t(:loading)
|
||||
|
||||
- unless Rails.env.production?
|
||||
#order-cycles-debug
|
||||
%h2= t('.debug_info')
|
||||
|
||||
%pre loaded = {{ loaded() | json }}
|
||||
%hr/
|
||||
%pre order_cycle = {{ order_cycle | json }}
|
||||
%hr/
|
||||
%pre enterprises = {{ enterprises | json }}
|
||||
%hr/
|
||||
%pre enterprise_fees = {{ enterprise_fees | json }}
|
||||
%hr/
|
||||
%pre supplied_products = {{ supplied_products | json }}
|
||||
|
||||
@@ -897,7 +897,6 @@ en:
|
||||
tags: Tags
|
||||
add_a_tag: Add a tag
|
||||
delivery_details: Pickup / Delivery details
|
||||
debug_info: Debug information
|
||||
index:
|
||||
schedule: Schedule
|
||||
schedules: Schedules
|
||||
|
||||
Reference in New Issue
Block a user