From fe1b3cee80982fa1ec9c084196dd3b19b3f27f44 Mon Sep 17 00:00:00 2001 From: Joshua Hesketh Date: Thu, 2 May 2019 10:26:48 -0600 Subject: [PATCH] Add tab to link from repo page to gerrit changes This goes to the open changes for the currently viewed repo. Change-Id: I671d81cbeeb271284e783227de2c66baedfbcb83 --- docker/gitea/custom/options/locale/locale_en-US.ini | 2 ++ docker/gitea/custom/templates/custom/extra_tabs.tmpl | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 docker/gitea/custom/options/locale/locale_en-US.ini create mode 100644 docker/gitea/custom/templates/custom/extra_tabs.tmpl diff --git a/docker/gitea/custom/options/locale/locale_en-US.ini b/docker/gitea/custom/options/locale/locale_en-US.ini new file mode 100644 index 0000000000..8158957ea7 --- /dev/null +++ b/docker/gitea/custom/options/locale/locale_en-US.ini @@ -0,0 +1,2 @@ +[repo] +change_requests = Change Requests diff --git a/docker/gitea/custom/templates/custom/extra_tabs.tmpl b/docker/gitea/custom/templates/custom/extra_tabs.tmpl new file mode 100644 index 0000000000..6f32e4e2a1 --- /dev/null +++ b/docker/gitea/custom/templates/custom/extra_tabs.tmpl @@ -0,0 +1,3 @@ + + {{.i18n.Tr "repo.change_requests"}} +