From 8d2ca774d02f3e4ba384c55f4003c17e3f75deb9 Mon Sep 17 00:00:00 2001 From: Lisa P Date: Fri, 11 Dec 2015 14:38:28 +0100 Subject: [PATCH] fix template logic if job has not yet started --- app/templates/components/log-content.hbs | 80 ++++++++++++------------ 1 file changed, 39 insertions(+), 41 deletions(-) diff --git a/app/templates/components/log-content.hbs b/app/templates/components/log-content.hbs index 13fee04a..002aaf62 100644 --- a/app/templates/components/log-content.hbs +++ b/app/templates/components/log-content.hbs @@ -1,7 +1,5 @@ {{remove-log-popup job=job}} - -
{{#if auth.signedIn}} @@ -28,47 +26,47 @@ {{#if job.notStarted}}
Hang tight, the log cannot be shown until the build has started.
- {{/if}} + {{else}} + + {{eye-icon}} + View log - - {{eye-icon}} - View log +
+
+ {{eye-icon}}Hide log + {{#if canRemoveLog}} + + Remove log + {{/if}} + + Raw log +
+
+ {{#if showTailing}} + + + + {{#if job.isFinished}} + Scroll to End of Log + {{else}} + Follow Log + {{/if}} + + + {{/if}} -
-
- {{eye-icon}}Hide log - {{#if canRemoveLog}} - - Remove log - {{/if}} - - Raw log +

+
+        {{#if showToTop}}
+          Top
+        {{/if}}
+      
-
- {{#if showTailing}} - - - - {{#if job.isFinished}} - Scroll to End of Log - {{else}} - Follow Log - {{/if}} - - - {{/if}} - -

-
-      {{#if showToTop}}
-        Top
-      {{/if}}
-    
-
- {{#if limited}} -

- This log is too long to be displayed. Please reduce the verbosity of your - build or download the raw log. -

+ {{#if limited}} +

+ This log is too long to be displayed. Please reduce the verbosity of your + build or download the raw log. +

+ {{/if}} {{/if}}