only show legacy note when logged in

This commit is contained in:
Lisa Passing 2015-07-09 20:10:17 +02:00
parent 7e811e3f81
commit 68e1f5cc7c

View File

@ -5,7 +5,7 @@
<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>
@ -15,6 +15,7 @@
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 {{bind-attr class="view.job.notStarted:hidden"}}>