aboutsummaryrefslogtreecommitdiffstats
path: root/src/i_info.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/i_info.go')
-rw-r--r--src/i_info.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/i_info.go b/src/i_info.go
index 0950d76..85929b4 100644
--- a/src/i_info.go
+++ b/src/i_info.go
@@ -327,13 +327,6 @@ func i_info_openstack(ui HardUI, host *HostNode, line int) int {
i_draw_text(ui.s,
(ui.dim[W] / 3) + 13, line, ui.dim[W] - 2, line,
ui.style[STYLE_DEF], host.Host)
- if line += 1; line > ui.dim[H] - 3 { return line }
- i_draw_text(ui.s,
- (ui.dim[W] / 3) + 3, line, ui.dim[W] - 2, line,
- ui.style[STYLE_TITLE], "Region name: ")
- i_draw_text(ui.s,
- (ui.dim[W] / 3) + 16, line, ui.dim[W] - 2, line,
- ui.style[STYLE_DEF], host.Stack.RegionName)
if line += 2; line > ui.dim[H] - 3 { return line }
i_draw_text(ui.s,
(ui.dim[W] / 3) + 3, line, ui.dim[W] - 2, line,
@@ -348,6 +341,13 @@ func i_info_openstack(ui HardUI, host *HostNode, line int) int {
i_draw_text(ui.s,
(ui.dim[W] / 3) + 15, line, ui.dim[W] - 2, line,
ui.style[STYLE_DEF], host.Stack.ProjectID)
+ if line += 1; line > ui.dim[H] - 3 { return line }
+ i_draw_text(ui.s,
+ (ui.dim[W] / 3) + 3, line, ui.dim[W] - 2, line,
+ ui.style[STYLE_TITLE], "Region name: ")
+ i_draw_text(ui.s,
+ (ui.dim[W] / 3) + 16, line, ui.dim[W] - 2, line,
+ ui.style[STYLE_DEF], host.Stack.RegionName)
if line += 2; line > ui.dim[H] - 3 { return line }
// user infos
i_draw_text(ui.s,