travis-web/assets/scripts/app/templates/repos/show.hbs
Piotr Sarnacki 42becfc019 Don't specify outlet name for 'pane' outlets
Specyfing "pane" as an outlet name here was a legacy thing. In current
form it doesn't give us anything and results in more code, as we need to
specify outlet everytime we want to render something there.
2014-05-28 10:23:38 +02:00

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>