diff --git a/PHPCI/View/Project/view.phtml b/PHPCI/View/Project/view.phtml index a34a0e57..45c390bb 100644 --- a/PHPCI/View/Project/view.phtml +++ b/PHPCI/View/Project/view.phtml @@ -17,7 +17,7 @@
To automatically build this project when new commits are pushed, add the URL below
@@ -31,10 +31,10 @@
print ' as a "WebHook URL" in the Service Hooks section of your Github repository.
' . $url . '';
break;
- case 'gitlab':
- $url = (empty($_SERVER['HTTPS']) ? 'http' : 'https') . '://' . $_SERVER['HTTP_HOST'] . '/gitlab/webhook/' . $project->getId();
- print ' as a "WebHook URL" in the Web Hooks section of your Gitlab repository.
' . $url . '';
- break;
+ case 'gitlab':
+ $url = (empty($_SERVER['HTTPS']) ? 'http' : 'https') . '://' . $_SERVER['HTTP_HOST'] . '/gitlab/webhook/' . $project->getId();
+ print ' as a "WebHook URL" in the Web Hooks section of your Gitlab repository.
' . $url . '';
+ break;
case 'bitbucket':
$url = (empty($_SERVER['HTTPS']) ? 'http' : 'https') . '://' . $_SERVER['HTTP_HOST'] . '/bitbucket/webhook/' . $project->getId();