Add target="_top" to links on maintenance and 500 pages

Heroku displays error pages in an iframe, so we need to add _top to make
links work properly there
This commit is contained in:
Piotr Sarnacki 2015-07-03 15:45:49 +02:00
parent 9d94f313b6
commit 86315e48ad
2 changed files with 7 additions and 7 deletions

View File

@ -16,11 +16,11 @@
<div id="top">
<div class="row">
<div class="small-2 medium-2 columns" id="logo">
<h1><a href="/" class="ember-view">Home</a></h1>
<h1><a href="/" class="ember-view" target="_top">Home</a></h1>
</div>
<ul id="navigation">
<li><a href="http://blog.travis-ci.com/">Blog</a></li>
<li><a href="http://www.traviscistatus.com/">Status</a></li>
<li><a href="http://blog.travis-ci.com/" target="_top">Blog</a></li>
<li><a href="http://www.traviscistatus.com/" target="_top">Status</a></li>
</ul>
</div>
</div>

View File

@ -15,11 +15,11 @@
<div id="top">
<div class="row">
<div class="small-2 medium-2 columns" id="logo">
<h1><a href="/" class="ember-view">Home</a></h1>
<h1><a href="/" class="ember-view" target="_top">Home</a></h1>
</div>
<ul id="navigation">
<li><a href="http://blog.travis-ci.com/">Blog</a></li>
<li><a href="http://www.traviscistatus.com/">Status</a></li>
<li><a href="http://blog.travis-ci.com/" target="_top">Blog</a></li>
<li><a href="http://www.traviscistatus.com/" target="_top">Status</a></li>
</ul>
</div>
</div>
@ -33,7 +33,7 @@
<div class="maintenance-tractor full-size"></div>
<div class="maintenance-text">
<h1>Under Maintenance</h1>
<p>Stay up to date with Travis CI by <a href="https://twitter.com/travisci" title="Travis CI on Twitter">following us <span class="icon-twitter"></span></a></p>
<p>Stay up to date with Travis CI by <a href="https://twitter.com/travisci" title="Travis CI on Twitter" target="_top">following us <span class="icon-twitter"></span></a></p>
</div>
</main>
</div>