diff options
Diffstat (limited to '')
-rw-r--r-- | templates/club.txt.tpl | 4 | ||||
-rw-r--r-- | templates/tireur.txt.tpl | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/templates/club.txt.tpl b/templates/club.txt.tpl new file mode 100644 index 0000000..d38201c --- /dev/null +++ b/templates/club.txt.tpl @@ -0,0 +1,4 @@ +{{- /*gotype:github.com/Necoro/engarde-importer.EngardeConfig*/ -}} +{{ range .Clubs -}} + {[classe club] [nom "{{.Name}}"] [modifie vrai] [date_oed "332"] [cle {{.Id}}]} +{{ end }}
\ No newline at end of file diff --git a/templates/tireur.txt.tpl b/templates/tireur.txt.tpl new file mode 100644 index 0000000..980b60a --- /dev/null +++ b/templates/tireur.txt.tpl @@ -0,0 +1,6 @@ +{{- /*gotype:github.com/Necoro/engarde-importer.EngardeConfig*/ -}} +{{ range .Participants -}} + {[classe tireur] [sexe {{.Gender.Engarde}}] [presence present] [carton_coach non] [status normal] + [medical non] [lateralite droite] [nom " {{.LastName | upper}} "] [prenom " {{.FirstName}} "] + [points 1.0] [date_oed "340"] [cle {{.Id}}] [club1 {{.ClubId}}]} +{{ end }}
\ No newline at end of file |