Hide the views tab for project that don't have them

Views are obsolete (replaced by the declarative "aggregate" build
mechanism) so we don't want people creating new ones.
This commit is contained in:
Eelco Dolstra 2013-08-15 13:54:23 +02:00
parent c9a0e12804
commit 242072bbd6

View file

@ -5,7 +5,9 @@
<li class="active"><a href="#tabs-project" data-toggle="tab">Jobsets</a></li>
<li><a href="#tabs-configuration" data-toggle="tab">Configuration</a></li>
<li><a href="#tabs-releases" data-toggle="tab">Releases</a></li>
[% IF views.size > 0 %]
<li><a href="#tabs-views" data-toggle="tab">Views</a></li>
[% END %]
</ul>
<div class="tab-content">