Hide message when local repositary is used

Hide message about hooks when local repositary is used
This commit is contained in:
Maks Rafalko 2013-07-15 23:56:51 +03:00
parent 2576f33029
commit dc77992fd2

View file

@ -19,8 +19,10 @@
</ul>
</div>
<br>
<p class="alert alert-info">To automatically build this project when new commits are pushed, add the URL below
<?php if (in_array($project->getType(), array('github', 'bitbucket'))): ?>
<br>
<p class="alert alert-info">To automatically build this project when new commits are pushed, add the URL below
<?php endif; ?>
<?php
switch($project->getType())
@ -83,4 +85,4 @@ setInterval(function()
$('#latest-builds').load('<?= PHPCI_URL ?>project/builds/<?php print $project->getId(); ?>');
}, 10000);
</script>
<?php endif; ?>
<?php endif; ?>