From e677014d75c98c55177071f190183ea375d4ce93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojt=C4=9Bch=20K=C3=A1n=C4=9B?= Date: Mon, 8 Feb 2021 08:59:28 +0100 Subject: [PATCH] Fix typos --- pkg/model/model.go | 2 +- ui/html/base.layout.tmpl.html | 4 ++-- ui/html/game.page.tmpl.html | 4 ++-- ui/html/home.page.tmpl.html | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pkg/model/model.go b/pkg/model/model.go index b08c1a5..c4611c6 100644 --- a/pkg/model/model.go +++ b/pkg/model/model.go @@ -59,7 +59,7 @@ func (m *Model) GetStats(c context.Context) (Stats, error) { } // returns the player's UUID if error is nil -// err = NoSuchEntity if the sessionsCode is incorrect +// err = NoSuchEntity if the sessionCode is incorrect func (m *Model) RegisterPlayer(playerName string, sessionCode string, c context.Context) (*ent.Player, error) { tx, err := m.c.BeginTx(c, &sql.TxOptions{ Isolation: sql.LevelRepeatableRead, diff --git a/ui/html/base.layout.tmpl.html b/ui/html/base.layout.tmpl.html index 0686306..af06a07 100644 --- a/ui/html/base.layout.tmpl.html +++ b/ui/html/base.layout.tmpl.html @@ -5,9 +5,9 @@ Tinyquiz - {{ block "aditional-css" . }}{{ end }} + {{ block "additional-css" . }}{{ end }} - {{ block "aditional-js" . }}{{ end }} + {{ block "additional-js" . }}{{ end }}
diff --git a/ui/html/game.page.tmpl.html b/ui/html/game.page.tmpl.html index fb524b9..8dfe00d 100644 --- a/ui/html/game.page.tmpl.html +++ b/ui/html/game.page.tmpl.html @@ -1,10 +1,10 @@ {{- template "base" . -}} -{{- define "aditional-css" -}} +{{- define "additional-css" -}} {{ end -}} -{{- define "aditional-js" -}} +{{- define "additional-js" -}} {{ end -}} {{- define "header" }} diff --git a/ui/html/home.page.tmpl.html b/ui/html/home.page.tmpl.html index f116291..0057023 100644 --- a/ui/html/home.page.tmpl.html +++ b/ui/html/home.page.tmpl.html @@ -1,10 +1,10 @@ {{- template "base" . -}} -{{- define "aditional-css" -}} +{{- define "additional-css" -}} {{ end -}} -{{- define "aditional-js" -}} +{{- define "additional-js" -}} {{ end -}}