From 1c66cdf28df960e189f27f01ca5f0077c3e38100 Mon Sep 17 00:00:00 2001 From: "chris062689@gmail.com" Date: Wed, 2 Jan 2019 20:25:06 -0500 Subject: [PATCH] Added bounties page. In GameDB moves issues above compat. --- layouts/game/single.html | 50 ++++++++++++++++---------------- layouts/page/bounties.html | 59 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+), 25 deletions(-) create mode 100644 layouts/page/bounties.html diff --git a/layouts/game/single.html b/layouts/game/single.html index 75e53a8..db38e5f 100644 --- a/layouts/game/single.html +++ b/layouts/game/single.html @@ -74,6 +74,31 @@

Please use the edit button up above to create one.

{{ end }} + {{ if gt (len .Params.issues) 0 }} +

Known Issues

+ + + + + + + + + + {{ $githubUrl := .Site.Params.GithubURL }} + {{ range .Params.issues }} + + + + + + {{ end }} + +
TitleCreatedLast Updated
+ {{ .title }} + {{ dateFormat "January 2, 2006" .created_at }}{{ dateFormat "January 2, 2006" .updated_at }}
+ {{ end }} +

Compatibility

{{ if gt (len .Params.testcases) 0 }} @@ -112,31 +137,6 @@

This game is untested. Please play through this game and report your compatibility with this title.

{{ end }} - {{ if gt (len .Params.issues) 0 }} -

Known Issues

-
- - - - - - - - - {{ $githubUrl := .Site.Params.GithubURL }} - {{ range .Params.issues }} - - - - - - {{ end }} - -
TitleCreatedLast Updated
- {{ .title }} - {{ dateFormat "January 2, 2006" .created_at }}{{ dateFormat "January 2, 2006" .updated_at }}
- {{ end }} - {{ if gt (len .Params.savefiles) 0 }}

Savefiles

diff --git a/layouts/page/bounties.html b/layouts/page/bounties.html new file mode 100644 index 0000000..58c6618 --- /dev/null +++ b/layouts/page/bounties.html @@ -0,0 +1,59 @@ +{{ define "main" }} +
+
+

{{ .Title }}

+
+ {{ .Content }} +
+ +
+ + + + + + + + + + + + + + + {{ range .Site.Data.bounties }} + + + + + + + + + + + + {{ end }} + +
Date SubmittedRequesterDeveloperStatusAmountDescriptionPayment StatusDeveloper ResponseDate Expires
+ {{ .DateSubmitted }} + + {{ .Requester }} + + {{ .Developer }} + + {{ .Status }} + + {{ .Amount }} + + {{ .Description }} + + {{ .PaymentStatus }} + + {{ .DeveloperResponse }} + + {{ .DateExpires }} +
+ + +{{ end }}