Added tooltips to OC form

This commit is contained in:
Matt-Yorkley
2017-01-11 15:34:39 +00:00
committed by Maikel Linke
parent 21337a5b50
commit 45fc801a08
4 changed files with 15 additions and 0 deletions

View File

@@ -113,6 +113,14 @@ form.order_cycle {
margin-right: 2em;
}
}
.collection-details {
input {
width: 90%
}
span {
font-size: 1rem
}
}
}
.coordinator-fees {
margin-top: 1em;

View File

@@ -15,8 +15,10 @@
{{ exchange.tags.length }}
%td.collection-details
= text_field_tag 'order_cycle_outgoing_exchange_{{ $index }}_pickup_time', '', 'id' => 'order_cycle_outgoing_exchange_{{ $index }}_pickup_time', 'placeholder' => 'Ready for (ie. Date / Time)', 'ng-model' => 'exchange.pickup_time', 'ng-disabled' => '!enterprises[exchange.enterprise_id].managed && !order_cycle.viewing_as_coordinator'
%span.icon-question-sign{'ofn-with-tip' => "#{t('admin.order_cycles.edit.pickup_time_tip')}"}
%br/
= text_field_tag 'order_cycle_outgoing_exchange_{{ $index }}_pickup_instructions', '', 'id' => 'order_cycle_outgoing_exchange_{{ $index }}_pickup_instructions', 'placeholder' => 'Pick-up instructions', 'ng-model' => 'exchange.pickup_instructions', 'ng-disabled' => '!enterprises[exchange.enterprise_id].managed && !order_cycle.viewing_as_coordinator'
%span.icon-question-sign{'ofn-with-tip' => "#{t('admin.order_cycles.edit.pickup_instructions_tip')}"}
%td.fees
%ol{ ng: { show: 'enterprises[exchange.enterprise_id].managed || order_cycle.viewing_as_coordinator' } }
%li{'ng-repeat' => 'enterprise_fee in exchange.enterprise_fees'}

View File

@@ -199,6 +199,8 @@ en-GB:
order_cycles:
edit:
choose_products_from: "Choose Products From:"
pickup_time_tip: 'Display name for order cycle delivery, e.g "Monday"'
pickup_instructions_tip: 'Additional notes for this selection'
enterprise:
select_outgoing_oc_products_from: Select outgoing OC products from
enterprises:

View File

@@ -278,6 +278,9 @@ en:
order_cycles:
edit:
choose_products_from: "Choose Products From:"
pickup_time_tip: 'Display name for order cycle delivery, e.g "Monday"'
pickup_instructions_tip: 'Additional notes for this selection'
enterprise:
select_outgoing_oc_products_from: Select outgoing OC products from