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:
Luis Ramos
2019-05-09 16:05:18 +01:00
committed by GitHub
3 changed files with 0 additions and 28 deletions

View File

@@ -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 {

View File

@@ -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 }}

View File

@@ -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