$repositories * @var Tree $tree */ ?> join('link', static function (JoinClause $join): void { $join->on('l_from', '=', 's_id'); $join->on('l_file', '=', 's_file'); }) ->where('l_type', '=', 'REPO') ->where('l_file', '=', $tree->id()) ->groupBy(['l_to']) ->pluck(new Expression('COUNT(*) AS total'), 'l_to') ->map(static fn ($n) => (int) $n) ->all(); ?>
= I18N::translate('Repository name') ?> | = I18N::translate('Sources') ?> | = I18N::translate('Last change') ?> |
---|---|---|
= $repository->fullName() ?> | = I18N::number($count_sources[$repository->xref()] ?? 0) ?> | = view('components/datetime', ['timestamp' => $repository->lastChangeTimestamp()]) ?> |