diff --git a/web/templates/admin/campsite/index.gohtml b/web/templates/admin/campsite/index.gohtml index f392b27..addf242 100644 --- a/web/templates/admin/campsite/index.gohtml +++ b/web/templates/admin/campsite/index.gohtml @@ -11,7 +11,10 @@ {{ define "content" -}} {{- /*gotype: dev.tandem.ws/tandem/camper/pkg/campsite.campsiteIndex*/ -}} - {{( pgettext "Add Campsite" "action" )}} + {{ if isAdmin -}} + {{( pgettext "Add Campsite" "action" )}} + {{- end }} +

{{( pgettext "Campsites" "title" )}}

{{ if .Campsites -}}
@@ -63,7 +66,13 @@ {{ range .Campsites -}} - {{ .Label }} + + {{- if isAdmin -}} + {{ .Label }} + {{- else -}} + {{ .Label }} + {{- end -}} + {{ range $.Months }} {{ range .Days }}