show legacy note first, then job not yet started notice

This commit is contained in:
Lisa Passing 2015-07-23 12:37:23 +02:00
parent 6578e8b3ce
commit dac21f6164

View File

@ -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">