From 849657beb310dc099945f695b9d236ce0e649b27 Mon Sep 17 00:00:00 2001 From: Jade Lovelace Date: Thu, 16 May 2024 18:15:54 -0700 Subject: [PATCH 1/2] lix: Make a Code Review (Gerrit) tab --- templates/repo/header.tmpl | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index b6cbfc7283510a26f1fa039aca4a5f4ed4b92a47..bbce2bfbcb5aa83b7ae90b87e6dc22d10469adb7 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -107,6 +107,12 @@ {{end}} + {{if and (eq .Repository.Name "snix") (eq .Repository.OwnerName "snix")}} + + {{svg "octicon-code-review"}} Code Review (Gerrit) + + {{end}} + {{if .Permission.CanRead $.UnitTypeExternalTracker}} {{svg "octicon-link-external"}} {{ctx.Locale.Tr "repo.issues"}} -- 2.49.0