
After upgrading ember to 1.8.1 tests pass, but I found a few cases where things break (for example when navigating between certain routes). I'm reverting for now. This reverts commitfa5e9179af
, reversing changes made to978c887123
.
27 lines
777 B
Handlebars
27 lines
777 B
Handlebars
<div id="repo" {{bind-attr class="view.className"}}>
|
|
{{#if view.isEmpty}}
|
|
{{view Travis.ReposEmptyView}}
|
|
{{else}}
|
|
{{#if repo.isLoaded}}
|
|
{{#with repo}}
|
|
<div id="repo-header">
|
|
<h3>{{#link-to "repo" this}}{{slug}}{{/link-to}}</h3>
|
|
<div class="github-icon"><a {{bind-attr href="controller.urlGithub"}}><img src="/images/icons/github.svg" width="21" height="21"/></a></div>
|
|
{{view Travis.RepoShowToolsView}}
|
|
</div>
|
|
|
|
<p class="description">{{description}}</p>
|
|
|
|
{{view Travis.RepoShowTabsView}}
|
|
{{view Travis.RepoActionsView}}
|
|
{{/with}}
|
|
|
|
<div class="tab">
|
|
{{outlet}}
|
|
</div>
|
|
{{else}}
|
|
<div class="loading"><span>Loading</span></div>
|
|
{{/if}}
|
|
{{/if}}
|
|
</div>
|