protected function fetchGitRepositoryRow(GitRepository $repository, $name, $depth) { $trclass = 'boxitem'; $label = $repository->getBasenameHTMLLink($this->url_manager); $description = $repository->getDescription(); $lastPush = ' '; if (isset($this->lastPushes[$repository->getId()])) { $row = $this->lastPushes[$repository->getId()]; $lastPushDate = html_time_ago($row['push_date']); $who = UserHelper::instance()->getLinkOnUserFromUserId($row['user_id']); $lastPush = $GLOBALS['Language']->getText('plugin_git', 'tree_view_by', array($lastPushDate, $who)); } return $this->fetchHTMLRow($trclass, $depth, $label, $description, $lastPush); }