From b59b0cad0a550223f74add109ff13c0d2f4309f3 Mon Sep 17 00:00:00 2001 From: Lauris BH Date: Tue, 11 Oct 2022 02:12:03 +0300 Subject: Add user/organization code search (#19977) Fixes #19925 Screenshots: ![attels](https://user-images.githubusercontent.com/165205/173864718-fe789429-55bc-4cad-808c-9f02f335cddf.png) --- templates/user/overview/header.tmpl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'templates/user/overview/header.tmpl') diff --git a/templates/user/overview/header.tmpl b/templates/user/overview/header.tmpl index b61883b0c1..f007973607 100644 --- a/templates/user/overview/header.tmpl +++ b/templates/user/overview/header.tmpl @@ -23,10 +23,15 @@ {{svg "octicon-repo"}} {{.locale.Tr "user.repositories"}} {{if (not .UnitPackagesGlobalDisabled)}} - + {{svg "octicon-package"}} {{.locale.Tr "packages.title"}} {{end}} + {{if .IsRepoIndexerEnabled}} + + {{svg "octicon-code"}} {{.locale.Tr "user.code"}} + + {{end}} {{if .ContextUser.IsOrganization}} {{if .IsOrganizationMember}} -- cgit v1.2.3