From 1aeeb3ba572cb867c564b41b03afee9ab83d697c Mon Sep 17 00:00:00 2001 From: Jools Date: Thu, 13 Apr 2017 06:39:02 +0200 Subject: [PATCH] display build branch instead of project branch in Home/index and ajax-timeline --- src/PHPCensor/View/Home/ajax-timeline.phtml | 6 +++--- src/PHPCensor/View/Home/index.phtml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/PHPCensor/View/Home/ajax-timeline.phtml b/src/PHPCensor/View/Home/ajax-timeline.phtml index 07bfc58c..e6701278 100644 --- a/src/PHPCensor/View/Home/ajax-timeline.phtml +++ b/src/PHPCensor/View/Home/ajax-timeline.phtml @@ -1,6 +1,6 @@ - @@ -78,7 +78,7 @@ use PHPCensor\Model\Build;
- getProject()->getBranch(); ?> + getBranch(); ?> - getCommitId() !== 'Manual') { diff --git a/src/PHPCensor/View/Home/index.phtml b/src/PHPCensor/View/Home/index.phtml index 874414eb..7dcc8f3b 100644 --- a/src/PHPCensor/View/Home/index.phtml +++ b/src/PHPCensor/View/Home/index.phtml @@ -1,4 +1,4 @@ -
- getProject()->getBranch(); ?> + getBranch(); ?> - getCommitId() !== 'Manual') {