Display current repo's URL for lint link
This commit is contained in:
parent
55d41d4d10
commit
aa06f3947e
|
@ -1 +1,8 @@
|
||||||
Travis.RequestsController = Ember.ArrayController.extend()
|
Travis.RequestsController = Ember.ArrayController.extend
|
||||||
|
needs: ['repo']
|
||||||
|
repo: Ember.computed.alias('controllers.repo.repo')
|
||||||
|
|
||||||
|
lintUrl: (->
|
||||||
|
slug = @get('repo.slug')
|
||||||
|
"https://lint.travis-ci.org/#{slug}"
|
||||||
|
).property('repo.slug')
|
||||||
|
|
|
@ -78,9 +78,3 @@
|
||||||
</h5>
|
</h5>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="travis-lint">
|
|
||||||
<p>Travis Lint for clean .yml files
|
|
||||||
<a href=”#”>lint.travis-ci.org/travis-ci/travis-api</a>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
<div class="travis-lint">
|
||||||
|
<p>Travis Lint for clean .yml files
|
||||||
|
<a {{bind-attr href="lintUrl"}}>lint.travis-ci.org/{{repo.slug}}</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
<table id="requests" class="list">
|
<table id="requests" class="list">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user