From 4027c5dd7c11c1256094e202be591ec1b86a011e Mon Sep 17 00:00:00 2001 From: Lanre Adelowo Date: Mon, 17 Aug 2020 04:07:38 +0100 Subject: Kanban board (#8346) Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: jaqra <48099350+jaqra@users.noreply.github.com> Co-authored-by: Kerry Co-authored-by: Jaqra Co-authored-by: Kyle Evans Co-authored-by: Tsakiridis Ilias Co-authored-by: Ilias Tsakiridis Co-authored-by: Lunny Xiao Co-authored-by: silverwind Co-authored-by: zeripath Co-authored-by: techknowlogick --- templates/repo/projects/list.tmpl | 99 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 templates/repo/projects/list.tmpl (limited to 'templates/repo/projects/list.tmpl') diff --git a/templates/repo/projects/list.tmpl b/templates/repo/projects/list.tmpl new file mode 100644 index 0000000000..f48cf400ba --- /dev/null +++ b/templates/repo/projects/list.tmpl @@ -0,0 +1,99 @@ +{{template "base/head" .}} +
+ {{template "repo/header" .}} +
+ +
+ {{template "base/alert" .}} + + + +
+ {{range .Projects}} +
  • + {{svg "octicon-project" 16}} {{.Title}} +
    + {{ $closedDate:= TimeSinceUnix .ClosedDateUnix $.Lang }} + {{if .IsClosed }} + {{svg "octicon-clock" 16}} {{$.i18n.Tr "repo.milestones.closed" $closedDate|Str2html}} + {{end}} + + {{svg "octicon-issue-opened" 16}} {{$.i18n.Tr "repo.issues.open_tab" .NumOpenIssues}} + {{svg "octicon-issue-closed" 16}} {{$.i18n.Tr "repo.issues.close_tab" .NumClosedIssues}} + +
    + {{if and (or $.CanWriteIssues $.CanWritePulls) (not $.Repository.IsArchived)}} + + {{end}} + {{if .Description}} +
    + {{.RenderedContent|Str2html}} +
    + {{end}} +
  • + {{end}} + + {{template "base/paginate" .}} +
    +
    +
    + +{{if or .CanWriteIssues .CanWritePulls}} + +{{end}} +{{template "base/footer" .}} -- cgit v1.2.3