Make settings header link to repo page

This commit is contained in:
Piotr Sarnacki 2013-12-18 11:19:06 +01:00
parent c48f70a38b
commit cc026b75a8

View File

@ -1,31 +1,32 @@
<h1>Settings: {{slug}}</h1>
<div id="repo">
<h3>Settings: {{#linkTo "repo" this}}{{slug}}{{/linkTo}}</h3>
{{#travis-tabs}}
{{#travis-tab "general" "General Settings"}}
{{#settings-form}}
<p>
{{settings-input checked=builds_only_with_travis_yml type="checkbox" id="builds-only-with-travis-yml"}}
<label for="builds-only-with-travis-yml">Build only commits with .travis.yml file</label>
</p>
{{#travis-tabs}}
{{#travis-tab "general" "General Settings"}}
{{#settings-form}}
<p>
{{settings-input checked=builds_only_with_travis_yml type="checkbox" id="builds-only-with-travis-yml"}}
<label for="builds-only-with-travis-yml">Build only commits with .travis.yml file</label>
</p>
<p>
{{settings-input checked=build_pushes type="checkbox" id="build-pushes"}}
<label for="build-pushes">Build pushes</label>
</p>
<p>
{{settings-input checked=build_pushes type="checkbox" id="build-pushes"}}
<label for="build-pushes">Build pushes</label>
</p>
<p>
{{settings-input checked=build_pull_requests type="checkbox" id="build-pull-requests"}}
<label for="build-pull-requests">Build pull requests</label>
</p>
<p>
{{#if saving}}
<span class="saving">Saving</span>
{{else}}
<button type="submit">Submit</button>
{{/if}}
</p>
{{/settings-form}}
{{/travis-tab}}
{{/travis-tabs}}
<p>
{{settings-input checked=build_pull_requests type="checkbox" id="build-pull-requests"}}
<label for="build-pull-requests">Build pull requests</label>
</p>
<p>
{{#if saving}}
<span class="saving">Saving</span>
{{else}}
<button type="submit">Submit</button>
{{/if}}
</p>
{{/settings-form}}
{{/travis-tab}}
{{/travis-tabs}}
</div>