show legacy note first, then job not yet started notice
This commit is contained in:
parent
6578e8b3ce
commit
dac21f6164
|
@ -1,22 +1,22 @@
|
|||
{{remove-log-popup job=view.job}}
|
||||
|
||||
<section id="log-container" class="log">
|
||||
|
||||
{{#if auth.signedIn}}
|
||||
{{#if view.job.isLegacyInfrastructure}}
|
||||
{{#if view.job.isFinished}}
|
||||
<p class="notice"><span class="icon-flag"></span>
|
||||
This job ran on our legacy infrastructure. Please read <a href="http://docs.travis-ci.com/user/migrating-from-legacy/?utm_source=legacy-notice&utm_medium=banner&utm_campaign=legacy-upgrade" title="Migrating from legacy">our docs on how to upgrade</a></p>
|
||||
{{else}}
|
||||
<p class="notice"><span class="icon-flag"></span>
|
||||
This job is running on our legacy infrastructure. Please read <a href="http://docs.travis-ci.com/user/migrating-from-legacy/?utm_source=legacy-notice&utm_medium=banner&utm_campaign=legacy-upgrade" title="Migrating from legacy">our docs on how to upgrade</a></p>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
{{#if view.job.notStarted}}
|
||||
<div class="log-notice">Hang tight, the log cannot be shown until the build has started.</div>
|
||||
{{/if}}
|
||||
|
||||
{{#if auth.signedIn}}
|
||||
{{#if view.job.isLegacyInfrastructure}}
|
||||
{{#if view.job.isFinished}}
|
||||
<p class="notice"><span class="icon-flag"></span>
|
||||
This job ran on our legacy infrastructure. Please read <a href="http://docs.travis-ci.com/user/migrating-from-legacy/?utm_source=legacy-notice&utm_medium=banner&utm_campaign=legacy-upgrade" title="Migrating from legacy">our docs on how to upgrade</a></p>
|
||||
{{else}}
|
||||
<p class="notice"><span class="icon-flag"></span>
|
||||
This job is running on our legacy infrastructure. Please read <a href="http://docs.travis-ci.com/user/migrating-from-legacy/?utm_source=legacy-notice&utm_medium=banner&utm_campaign=legacy-upgrade" title="Migrating from legacy">our docs on how to upgrade</a></p>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
|
||||
<div class="{{if view.job.notStarted 'hidden'}}">
|
||||
<menu class="log-header">
|
||||
|
|
Loading…
Reference in New Issue
Block a user