From 08c6d07aad65f45efd5bf9f50d9cda68f59c0e69 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 9 Aug 2014 15:50:06 -0700 Subject: [PATCH] UI: Bare repository does not have visual link to settings page --- templates/repo/bare.tmpl | 5 ++++- templates/repo/settings/hook_new.tmpl | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/templates/repo/bare.tmpl b/templates/repo/bare.tmpl index 241fea851..60000647d 100644 --- a/templates/repo/bare.tmpl +++ b/templates/repo/bare.tmpl @@ -14,7 +14,10 @@
-

Quick Start

+
+ {{.i18n.Tr "repo.settings"}} + Quick Start +

Clone this repository

diff --git a/templates/repo/settings/hook_new.tmpl b/templates/repo/settings/hook_new.tmpl index 917e6d1b7..2cd0eacb6 100644 --- a/templates/repo/settings/hook_new.tmpl +++ b/templates/repo/settings/hook_new.tmpl @@ -49,6 +49,7 @@
+ {{if .PageIsSettingsHooksEdit}}
@@ -60,6 +61,7 @@
+ {{end}}