Hide message when local repositary is used
Hide message about hooks when local repositary is used
This commit is contained in:
parent
2576f33029
commit
dc77992fd2
|
@ -19,8 +19,10 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br>
|
<?php if (in_array($project->getType(), array('github', 'bitbucket'))): ?>
|
||||||
<p class="alert alert-info">To automatically build this project when new commits are pushed, add the URL below
|
<br>
|
||||||
|
<p class="alert alert-info">To automatically build this project when new commits are pushed, add the URL below
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
switch($project->getType())
|
switch($project->getType())
|
||||||
|
@ -83,4 +85,4 @@ setInterval(function()
|
||||||
$('#latest-builds').load('<?= PHPCI_URL ?>project/builds/<?php print $project->getId(); ?>');
|
$('#latest-builds').load('<?= PHPCI_URL ?>project/builds/<?php print $project->getId(); ?>');
|
||||||
}, 10000);
|
}, 10000);
|
||||||
</script>
|
</script>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
Loading…
Reference in a new issue