Don't display link to caches if caches are disabled
This commit is contained in:
parent
eb8b5092e6
commit
1f2b8a84ff
|
@ -66,15 +66,17 @@
|
|||
{{/if}}
|
||||
</h5>
|
||||
</li>
|
||||
<li id="tab_caches" {{bind-attr class="view.classCaches"}}>
|
||||
<h5>
|
||||
{{#if repo.slug}}
|
||||
{{#link-to "caches" repo}}
|
||||
Caches
|
||||
{{/link-to}}
|
||||
{{/if}}
|
||||
</h5>
|
||||
</li>
|
||||
{{#if Travis.config.caches_enabled}}
|
||||
<li id="tab_caches" {{bind-attr class="view.classCaches"}}>
|
||||
<h5>
|
||||
{{#if repo.slug}}
|
||||
{{#link-to "caches" repo}}
|
||||
Caches
|
||||
{{/link-to}}
|
||||
{{/if}}
|
||||
</h5>
|
||||
</li>
|
||||
{{/if}}
|
||||
|
||||
<li id="tab_request" {{bind-attr class="view.classRequest"}}>
|
||||
<h5>
|
||||
|
|
Loading…
Reference in New Issue
Block a user