From f2d16458ebc30a3e2e891f9b51ac3f5cb210a487 Mon Sep 17 00:00:00 2001 From: Philip Guyton Date: Fri, 4 Oct 2024 18:38:38 +0100 Subject: [PATCH] Rockon pre & post-install summaries are inconsistent #2904 Clarify header and mouse-over text in both associated tables. Normalise on column order (as per header) as per existing pre-install summary table. Includes: - Bug fix re some internal/external header-to-contents columns swapped. - Incidental bugfix re empty internal (to Rock-on) device cell entries. --- .../rockons/settings_summary_table.jst | 18 +++++++++--------- .../js/templates/rockons/summary_table.jst | 12 ++++++------ 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/rockstor/storageadmin/static/storageadmin/js/templates/rockons/settings_summary_table.jst b/src/rockstor/storageadmin/static/storageadmin/js/templates/rockons/settings_summary_table.jst index 08c863831..c7fcc90e8 100644 --- a/src/rockstor/storageadmin/static/storageadmin/js/templates/rockons/settings_summary_table.jst +++ b/src/rockstor/storageadmin/static/storageadmin/js/templates/rockons/settings_summary_table.jst @@ -2,24 +2,24 @@ - - - + + + {{#each volumes}} - + {{/each}} {{display_newVolumes}} {{#each ports}} - + {{/each}} @@ -29,30 +29,30 @@ {{#each rocknets}} - + {{/each}} {{/if}} {{#each cc}} - + {{/each}} {{#each device}} - + {{/each}} {{#each env}} - + {{/each}} {{#each labels}} diff --git a/src/rockstor/storageadmin/static/storageadmin/js/templates/rockons/summary_table.jst b/src/rockstor/storageadmin/static/storageadmin/js/templates/rockons/summary_table.jst index 9cbe494ad..c1e634aae 100644 --- a/src/rockstor/storageadmin/static/storageadmin/js/templates/rockons/summary_table.jst +++ b/src/rockstor/storageadmin/static/storageadmin/js/templates/rockons/summary_table.jst @@ -1,23 +1,23 @@
Resource type  Name  Mapped representation  Resource type  Internal Reference  External Reference / Configured value  
Share{{this.share_name}} {{this.dest_dir}}{{this.share_name}}
Port{{this.hostp}} {{this.containerp}}{{isPublished this.id this.publish}}{{this.hostp}}
Network{{this.container_name}} {{this.docker_name}}{{this.container_name}}
Custom{{this.val}}   {{this.key}}{{this.val}}  
Device{{this.val}}   {{this.dev}}{{this.val}}  
Env{{this.val}}   {{this.key}}{{this.val}}  
- - - + + + {{#each share_map}} - + {{/each}} {{#each port_map}} - + {{/each}} {{#each cc_map}} @@ -30,7 +30,7 @@ {{#each dev_map}} - + {{/each}}
Resource type  Name  Mapped representation  Resource type  Internal Reference  External Reference / Configured value  
Share{{@key}} {{this}}{{@key}}
Port{{@key}} {{this}}{{@key}}
Device{{@dev}}{{@key}} {{this}}