travis-web/assets/scripts/app/templates/repo/settings.hbs
2014-07-30 12:56:32 +02:00

34 lines
1.0 KiB
Handlebars

<div id="repo">
<h3>Settings: {{#link-to "repo" this}}{{slug}}{{/link-to}}</h3>
{{#travis-tabs}}
{{#travis-tab "general" "General Settings"}}
{{#settings-form}}
<p class="settings-row">
Build only if .travis.yml is present
{{travis-switch action="save" active=settings.builds_only_with_travis_yml}}
</p>
<p class="settings-row">
Build pushes
{{travis-switch action="save" active=settings.build_pushes}}
</p>
<p class="settings-row">
Build pull requests
{{travis-switch action="save" active=settings.build_pull_requests}}
</p>
<p class="settings-row">
<p class="short-settings-element" {{bind-attr class="settings.maximum_number_of_builds_valid"}}>
{{input value=settings.maximum_number_of_builds size="4" pattern='/^[0-9]+$/'}}
</p>
<label>
Concurrent jobs
</label>
</p>
{{/settings-form}}
{{/travis-tab}}
{{/travis-tabs}}
</div>