From 3f394780108ca6c01e7409a2d86fa82cb2509f34 Mon Sep 17 00:00:00 2001 From: mwerezak Date: Mon, 30 Jun 2014 15:33:29 -0400 Subject: [PATCH] Fixes the escape pod Nano UI The MANUAL EJECT button was sending the wrong command. Also separated it from the other buttons. --- nano/templates/simple_docking_console_pod.tmpl | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/nano/templates/simple_docking_console_pod.tmpl b/nano/templates/simple_docking_console_pod.tmpl index 520d073907..676d2a1496 100644 --- a/nano/templates/simple_docking_console_pod.tmpl +++ b/nano/templates/simple_docking_console_pod.tmpl @@ -90,12 +90,21 @@ {{if docking_status == "docked"}} {{:~link('Force exterior door', 'alert', {'command' : 'force_door'}, override_enabled ? null : 'disabled', null)}} {{:~link('Override', 'alert', {'command' : 'toggle_override'}, null, override_enabled ? 'redBackground' : null)}} - {{:~link('MANUAL EJECT', 'alert', {'command' : 'toggle_override'}, 'disabled', null)}} {{else}} {{:~link('Force exterior door', 'alert', {'command' : 'force_door'}, override_enabled ? null : 'disabled', override_enabled? 'redBackground' : null)}} {{:~link('Override', 'alert', {'command' : 'toggle_override'}, null, override_enabled ? 'redBackground' : 'yellowBackground')}} - {{:~link('MANUAL EJECT', 'alert', {'command' : 'toggle_override'}, can_force ? null : 'disabled', can_force ? 'redBackground' : null)}} {{/if}} - \ No newline at end of file + +
+
+
+ {{if docking_status == "docked"}} + {{:~link('MANUAL EJECT', 'alert', {'command' : 'force_launch'}, 'disabled', null)}} + {{else}} + {{:~link('MANUAL EJECT', 'alert', {'command' : 'force_launch'}, can_force ? null : 'disabled', can_force ? 'redBackground' : null)}} + {{/if}} +
+
+