travis-web/app/templates/components/repos-list-tabs.hbs
2016-01-12 16:55:22 +01:00

20 lines
632 B
Handlebars

<div class="tabnav tabnav--sidebar" role="tablist">
<ul class="tab tabs--sidebar">
<li id="tab_owned" class={{classOwned}}>
<a href="#" {{action showMyRepositories}}>My Repositories</a>
</li>
{{#if config.pro}}
<li id="tab_running" class={{classRunning}}>
<a href="#" {{action showRunningJobs}}>Running ({{startedJobsCount}}/{{allJobsCount}})</a>
</li>
{{/if}}
<li id="tab_new" class={{classNew}}>
{{#link-to "profile" trackEvent="add-repository-from-list" title="Add New Repository"}}
<span class="icon icon--plus"></span>
{{/link-to}}
</li>
</ul>
</div>