
I haven't touched almost all of the things related to profile. I'm not also sure what's the state of authentication at this point. Conflicts: Gemfile Gemfile.lock Procfile assets/javascripts/app/app.coffee assets/javascripts/app/controllers.coffee assets/javascripts/app/controllers/auth.coffee assets/javascripts/app/controllers/profile.coffee assets/javascripts/app/routes.coffee assets/javascripts/app/templates/builds/list.hbs assets/javascripts/app/templates/builds/show.hbs assets/javascripts/app/templates/jobs/list.hbs assets/javascripts/app/templates/layouts/top.hbs assets/javascripts/app/templates/repos/list.hbs assets/javascripts/app/templates/repos/show/tabs.hbs assets/javascripts/app/templates/workers/list.hbs assets/javascripts/app/views.coffee assets/javascripts/app/views/repo/show.coffee assets/javascripts/travis.coffee public/index.html public/javascripts/application.js public/stylesheets/application.css
57 lines
1.5 KiB
Handlebars
57 lines
1.5 KiB
Handlebars
<ul class="tabs">
|
|
<li id="tab_current" {{bindAttr class="view.classCurrent"}}>
|
|
<h5>
|
|
{{#if view.repository.slug}}
|
|
<a {{action showRepository view.repository href=true}}>
|
|
{{t repositories.tabs.current}}
|
|
</a>
|
|
{{/if}}
|
|
</h5>
|
|
</li>
|
|
<li id="tab_builds" {{bindAttr class="view.classBuilds"}}>
|
|
<h5>
|
|
{{#if view.repository.slug}}
|
|
<a {{action showBuilds view.repository href=true}}>
|
|
{{t repositories.tabs.build_history}}
|
|
</a>
|
|
{{/if}}
|
|
</h5>
|
|
</li>
|
|
<li id="tab_pull_requests" {{bindAttr class="view.classPullRequests"}}>
|
|
<h5>
|
|
{{#if view.repository.slug}}
|
|
<a {{action showPullRequests view.repository href=true}}>
|
|
{{t repositories.tabs.pull_requests}}
|
|
</a>
|
|
{{/if}}
|
|
</h5>
|
|
</li>
|
|
<li id="tab_branches" {{bindAttr class="view.classBranches"}}>
|
|
<h5>
|
|
{{#if view.repository.slug}}
|
|
<a {{action showBranches view.repository href=true}}>
|
|
{{t repositories.tabs.branches}}
|
|
</a>
|
|
{{/if}}
|
|
</h5>
|
|
</li>
|
|
<li id="tab_build" {{bindAttr class="view.classBuild"}}>
|
|
<h5>
|
|
{{#if view.build.id}}
|
|
<a {{action showBuild view.build href=true}}>
|
|
{{t repositories.tabs.build}} #{{view.build.number}}
|
|
</a>
|
|
{{/if}}
|
|
</h5>
|
|
</li>
|
|
<li id="tab_job" {{bindAttr class="view.classJob"}}>
|
|
<h5>
|
|
{{#if view.job.id}}
|
|
<a {{action showBuild view.job href=true}}>
|
|
{{t repositories.tabs.job}} #{{view.job.number}}
|
|
</a>
|
|
{{/if}}
|
|
</h5>
|
|
</li>
|
|
</ul>
|