Archived
1
0
Fork 0

Add locales to commands

This commit is contained in:
Ethanell 2020-08-18 17:13:22 +02:00
parent 72af0b8a3f
commit b3747909bd
4 changed files with 6 additions and 6 deletions

View file

@ -19,7 +19,6 @@
}, },
"index": { "index": {
"welcome": "Welcome to Sandwiches Order Doua", "welcome": "Welcome to Sandwiches Order Doua",
"command": "Command",
"sandwich": "Sandwich", "sandwich": "Sandwich",
"day": "Day", "day": "Day",
"pay": "Pay" "pay": "Pay"
@ -45,5 +44,6 @@
"department": "Department", "department": "Department",
"commands": "Commands", "commands": "Commands",
"sandwiches": "Sandwiches", "sandwiches": "Sandwiches",
"date": "Date" "date": "Date",
"command": "Command"
} }

View file

@ -2,10 +2,10 @@ extends layout
block content block content
div#date-selector.card div#date-selector.card
label(for="date") Date label(for="date")=__("date")
input#date(type="date" value=date) input#date(type="date" value=date)
div#orders.card div#orders.card
h1 Orders h1=__("commands")
each user, department in commands each user, department in commands
div.department div.department
h2= department h2= department
@ -14,7 +14,7 @@ block content
h3= name h3= name
each order, id in command each order, id in command
div.order div.order
h4 Command N°#{id} h4 #{__("command")} N°#{id}
each sandwich in order each sandwich in order
div.sandwich div.sandwich
h4= sandwich.Sandwich.name h4= sandwich.Sandwich.name

View file

@ -20,7 +20,7 @@ block content
input#lastname(type="text" name="lastName" value=user ? user.lastName : "" required) input#lastname(type="text" name="lastName" value=user ? user.lastName : "" required)
div#command1.command div#command1.command
h2=__("index.command")+" 1" h2=__("command")+" 1"
div.field div.field
label(for="sandwich1")=__("index.sandwich")+":" label(for="sandwich1")=__("index.sandwich")+":"
input#sandwich1(type="list" list="sandwich-list" name="sandwich1" autocomplete="off" required) input#sandwich1(type="list" list="sandwich-list" name="sandwich1" autocomplete="off" required)