From d76772adb9206961a4b47569dfd86366329972b0 Mon Sep 17 00:00:00 2001 From: FuXiaoHei Date: Wed, 7 May 2014 21:01:00 +0800 Subject: add milestone list page --- templates/issue/milestone.tmpl | 54 ++++++++++++++++++++++++++++++++++++++++++ templates/repo/toolbar.tmpl | 6 +++-- 2 files changed, 58 insertions(+), 2 deletions(-) create mode 100644 templates/issue/milestone.tmpl (limited to 'templates') diff --git a/templates/issue/milestone.tmpl b/templates/issue/milestone.tmpl new file mode 100644 index 0000000000..a688fb4cc5 --- /dev/null +++ b/templates/issue/milestone.tmpl @@ -0,0 +1,54 @@ +{{template "base/head" .}} +{{template "base/navbar" .}} +{{template "repo/nav" .}} +{{template "repo/toolbar" .}} +
+
+ +
+
+
+

Milestone Title

+ 12 + 2 +

+ Edit + Open + Close + Delete + Issues +

+
+

In this version of release, users are able to register and log in/out on Gogs, setting up SSH keys and do most of Git operations through SSH with public repositories. And Web UI only for view of Git data, no extra features are supported.

+
+
+

Milestone Title

+ 12 + 2 +

+ Edit + Open + Close + Delete + Issues +

+
+

In this version of release, users are able to register and log in/out on Gogs, setting up SSH keys and do most of Git operations through SSH with public repositories. And Web UI only for view of Git data, no extra features are supported.

+
+
+
+
+
+ +{{template "base/footer" .}} diff --git a/templates/repo/toolbar.tmpl b/templates/repo/toolbar.tmpl index a14aae9ca9..e2652ee829 100644 --- a/templates/repo/toolbar.tmpl +++ b/templates/repo/toolbar.tmpl @@ -10,8 +10,10 @@
  • {{if .Repository.NumOpenIssues}}{{.Repository.NumOpenIssues}} {{end}}Issues
  • {{if .IsRepoToolbarIssues}} -
  • {{if .IsRepoToolbarIssuesList}} - {{end}}
  • +
  • {{if .IsRepoToolbarIssuesList}} + + + {{end}}
  • {{end}}
  • {{if .Repository.NumTags}}{{.Repository.NumTags}} {{end}}Releases
  • {{if .IsRepoToolbarReleases}}{{if .IsRepositoryOwner}}{{if not .IsRepoReleaseNew}} -- cgit v1.2.3