{/* Latest Pipeline */}
#{latestPipeline.number}
{latestPipeline.branch} • {latestPipeline.commit}
{formatTimeAgo(latestPipeline.created)}
{formatDuration(latestPipeline.started, latestPipeline.finished)}
{/* Steps Progress */}
{latestPipeline.steps.length > 0 && (
{latestPipeline.steps.map((step, i) => (
))}
)}
{/* Expandable Steps */}
{expanded && latestPipeline.steps.length > 0 && (
{latestPipeline.steps.map((step, i) => (
{step.name}
))}
)}
{/* Actions */}
{/* Recent Pipelines */}
{data.pipelines.length > 1 && (
Letzte Pipelines
{data.pipelines.slice(1, 4).map((p) => (
#{p.number}
{p.branch}
{formatTimeAgo(p.created)}
))}
)}