fix formatting
This commit is contained in:
@@ -685,8 +685,7 @@ function travel_view($node, $view_mode)
|
||||
);
|
||||
$rows[] = array(
|
||||
t('Flight Arrival:'),
|
||||
t('!date', array(
|
||||
'!date' => format_date($node->booking_flight_datetime_inbound, 'custom', 'd/m/Y H:i')
|
||||
t('!date', array('!date' => $node->booking_flight_datetime_inbound == 0 ? '' : format_date($node->booking_flight_datetime_inbound, 'custom', 'd/m/Y H:i')
|
||||
))
|
||||
);
|
||||
$rows[] = array(
|
||||
@@ -695,8 +694,7 @@ function travel_view($node, $view_mode)
|
||||
);
|
||||
$rows[] = array(
|
||||
t('Flight Departure:'),
|
||||
t('!date', array(
|
||||
'!date' => format_date($node->booking_flight_datetime_outbound, 'custom', 'd/m/Y H:i')
|
||||
t('!date', array('!date' => $node->booking_flight_datetime_outbound == 0 ? '' : format_date($node->booking_flight_datetime_outbound, 'custom', 'd/m/Y H:i')
|
||||
))
|
||||
);
|
||||
$rows[] = array(
|
||||
|
Reference in New Issue
Block a user