From c5ce33047e77b03b8d6e289d2b250e15c65ae3d2 Mon Sep 17 00:00:00 2001
From: Unknwon
Date: Mon, 1 Sep 2014 00:33:40 +0800
Subject: Mirror fix and hide missing pages for 0.5 release
---
templates/repo/header.tmpl | 4 ++--
templates/repo/home.tmpl | 18 +++++++++---------
templates/repo/settings/gogs_hook.tmpl | 23 -----------------------
templates/repo/settings/hook_gogs.tmpl | 23 +++++++++++++++++++++++
templates/repo/settings/hook_new.tmpl | 4 ++--
templates/repo/settings/hook_slack.tmpl | 20 ++++++++++++++++++++
templates/repo/settings/nav.tmpl | 2 +-
templates/repo/settings/slack_hook.tmpl | 20 --------------------
templates/repo/sidebar.tmpl | 12 ++++++------
templates/user/dashboard/nav.tmpl | 10 ++++++----
10 files changed, 69 insertions(+), 67 deletions(-)
delete mode 100644 templates/repo/settings/gogs_hook.tmpl
create mode 100644 templates/repo/settings/hook_gogs.tmpl
create mode 100644 templates/repo/settings/hook_slack.tmpl
delete mode 100644 templates/repo/settings/slack_hook.tmpl
(limited to 'templates')
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl
index 6f3d4c66ca..3812508248 100644
--- a/templates/repo/header.tmpl
+++ b/templates/repo/header.tmpl
@@ -44,14 +44,14 @@
-
{{if .IsFile}}
{{template "repo/view_file" .}}
diff --git a/templates/repo/settings/gogs_hook.tmpl b/templates/repo/settings/gogs_hook.tmpl
deleted file mode 100644
index 678d640baf..0000000000
--- a/templates/repo/settings/gogs_hook.tmpl
+++ /dev/null
@@ -1,23 +0,0 @@
-
diff --git a/templates/repo/settings/hook_gogs.tmpl b/templates/repo/settings/hook_gogs.tmpl
new file mode 100644
index 0000000000..35b5899532
--- /dev/null
+++ b/templates/repo/settings/hook_gogs.tmpl
@@ -0,0 +1,23 @@
+
diff --git a/templates/repo/settings/hook_new.tmpl b/templates/repo/settings/hook_new.tmpl
index 7a450282b1..2bce97a26b 100644
--- a/templates/repo/settings/hook_new.tmpl
+++ b/templates/repo/settings/hook_new.tmpl
@@ -14,8 +14,8 @@
diff --git a/templates/repo/settings/nav.tmpl b/templates/repo/settings/nav.tmpl
index 6288ca6cd7..ef0765feac 100644
--- a/templates/repo/settings/nav.tmpl
+++ b/templates/repo/settings/nav.tmpl
@@ -5,7 +5,7 @@
diff --git a/templates/repo/sidebar.tmpl b/templates/repo/sidebar.tmpl
index 39d999cabc..f671bfc1b1 100644
--- a/templates/repo/sidebar.tmpl
+++ b/templates/repo/sidebar.tmpl
@@ -3,23 +3,23 @@