From 3d83dcd08079bfd7a31b017ec275c066a9dc9c9e Mon Sep 17 00:00:00 2001 From: Suraj Date: Mon, 29 Feb 2016 07:35:15 +0530 Subject: [PATCH] all templates now look the same --- templates/completed.html | 45 ++++++++++++++++++---------------------- templates/deleted.html | 32 ++++++++++++---------------- 2 files changed, 33 insertions(+), 44 deletions(-) diff --git a/templates/completed.html b/templates/completed.html index 5bc5158..dd56de5 100644 --- a/templates/completed.html +++ b/templates/completed.html @@ -1,33 +1,28 @@ {{template "_head.html" .}}
- {{ if .Tasks}} - {{range .Tasks}} + {{ if .Tasks}} {{range $key, $value := .Tasks}}
-

{{.Title}}

- {{.Content}} +

{{$value.Title}}

+ {{$value.Content}} - +
{{end}} {{else}} diff --git a/templates/deleted.html b/templates/deleted.html index 162034b..37924de 100644 --- a/templates/deleted.html +++ b/templates/deleted.html @@ -7,34 +7,28 @@ {{end}}
- {{ if .Tasks}} - {{range .Tasks}} + {{ if .Tasks}} {{range $key, $value := .Tasks}}
-

{{.Title}}

- {{.Content}} +

{{$value.Title}}

+ {{$value.Content}}