From 4e7eb5be9d3e9c9ba7238769d2b5f2f471d51b67 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Wed, 5 Nov 2014 23:30:04 -0500 Subject: Work on #5 fork and fix #608 --- templates/.VERSION | 2 +- templates/repo/fork.tmpl | 65 ++++++++++++++++++++++++++++++++++++++++++++++ templates/repo/header.tmpl | 2 +- 3 files changed, 67 insertions(+), 2 deletions(-) create mode 100644 templates/repo/fork.tmpl (limited to 'templates') diff --git a/templates/.VERSION b/templates/.VERSION index 188756b2f0..f2ebc3fb97 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.5.6.1104 Beta \ No newline at end of file +0.5.7.1105 Beta \ No newline at end of file diff --git a/templates/repo/fork.tmpl b/templates/repo/fork.tmpl new file mode 100644 index 0000000000..1d096a75d8 --- /dev/null +++ b/templates/repo/fork.tmpl @@ -0,0 +1,65 @@ +{{template "ng/base/head" .}} +{{template "ng/base/header" .}} +
+
+ {{.CsrfTokenHtml}} +
+

{{.i18n.Tr "new_fork"}}

+
+
+ {{template "ng/base/alert" .}} +
+ + + +
+
+ + {{.ForkFrom}} +
+
+ + + + {{.i18n.Tr "repo.repo_name_helper" | Str2html}} +
+
+ + {{.i18n.Tr "repo.fork_visiblity_helper"}} +
+
+ + +
+
+ + + {{.i18n.Tr "cancel"}} +
+
+
+
+{{template "ng/base/footer" .}} \ No newline at end of file diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index c2caf4b015..976c8e0c00 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -47,7 +47,7 @@
  • - +