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

View file

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

View file

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