From aecd90cf6d70b34b8569e3f0e53c1de33c89a2ba Mon Sep 17 00:00:00 2001 From: opi Date: Fri, 6 May 2016 19:16:58 +0200 Subject: [PATCH] [enh] Use paste button on every log section. --- src/views/app/app_debug.ms | 3 ++- src/views/service/service_log.ms | 3 ++- src/views/tools/tools_diagnosis.ms | 3 ++- src/views/upgrade/upgrade.ms | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/views/app/app_debug.ms b/src/views/app/app_debug.ms index 2e68d6ca..d233f1be 100644 --- a/src/views/app/app_debug.ms +++ b/src/views/app/app_debug.ms @@ -22,7 +22,8 @@
{{#logs}}

{{file_name}}

-
{{file_content}}
+
{{file_content}}
+ {{/logs}}
diff --git a/src/views/service/service_log.ms b/src/views/service/service_log.ms index cc9d46e7..0a03601d 100644 --- a/src/views/service/service_log.ms +++ b/src/views/service/service_log.ms @@ -10,8 +10,9 @@
{{#logs}}

{{filename}}

-
+        
         {{filecontent}}
         
+ {{/logs}}
diff --git a/src/views/tools/tools_diagnosis.ms b/src/views/tools/tools_diagnosis.ms index 6a2db2da..32f75dbc 100644 --- a/src/views/tools/tools_diagnosis.ms +++ b/src/views/tools/tools_diagnosis.ms @@ -14,11 +14,12 @@

{{t 'diagnosis'}}

-
{{ diagnosis }}
+
{{ diagnosis }}
{{#if private}} {{t 'diagnosis_hide_private'}} {{else}} {{t 'diagnosis_view_private'}} {{/if}} +
diff --git a/src/views/upgrade/upgrade.ms b/src/views/upgrade/upgrade.ms index f5a9336b..cf8d087f 100644 --- a/src/views/upgrade/upgrade.ms +++ b/src/views/upgrade/upgrade.ms @@ -7,11 +7,12 @@
{{#if logs}} -
+
 {{#logs}}
     {{.}}
 {{/logs}}
 
+ {{else}} {{t 'no_log'}} {{/if}}