Style/i18n fixes
This commit is contained in:
parent
dba4ae14d5
commit
2a0cc1dc8b
|
@ -62,6 +62,7 @@ $color-notice-medium: lighten($color-notice, 20%);
|
|||
$color-notice-light: lighten($color-notice, 35%);
|
||||
$color-alert-medium: lighten($color-alert, 20%);
|
||||
$color-alert-light: lighten($color-alert, 35%);
|
||||
/**/
|
||||
|
||||
// Dark theme
|
||||
/*
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
</vn-vertical>
|
||||
</vn-card>
|
||||
<vn-button-bar>
|
||||
<vn-submit label="Send"></vn-submit>
|
||||
<vn-submit label="Query"></vn-submit>
|
||||
</vn-button-bar>
|
||||
</form>
|
||||
<vn-card pad-medium margin-medium-top>
|
||||
|
|
|
@ -6,7 +6,7 @@ vn-zone-delivery-days {
|
|||
flex-wrap: wrap;
|
||||
|
||||
& > vn-calendar {
|
||||
min-width: 15em;
|
||||
min-width: 16.5em;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -20,7 +20,7 @@
|
|||
{{::row.from | dateTime:'dd/MM/yyyy'}} - {{::row.to | dateTime:'dd/MM/yyyy'}}
|
||||
</span>
|
||||
<span ng-if="!row.to" translate>
|
||||
Always
|
||||
Indefinitely
|
||||
</span>
|
||||
<span ng-if="row.weekDays">
|
||||
({{::$ctrl.formatWdays(row.weekDays)}})
|
||||
|
|
|
@ -43,14 +43,14 @@ class Controller {
|
|||
|
||||
this.options = [
|
||||
{
|
||||
label: 'Specific day',
|
||||
label: 'One day',
|
||||
value: 'day'
|
||||
}, {
|
||||
label: 'Range of dates',
|
||||
value: 'range'
|
||||
}, {
|
||||
label: 'Always',
|
||||
value: 'always'
|
||||
label: 'Indefinitely',
|
||||
value: 'indefinitely'
|
||||
}
|
||||
];
|
||||
|
||||
|
@ -86,7 +86,7 @@ class Controller {
|
|||
if (row.from && !row.to)
|
||||
this.eventType = 'day';
|
||||
else if (!row.from)
|
||||
this.eventType = 'always';
|
||||
this.eventType = 'indefinitely';
|
||||
else
|
||||
this.eventType = 'range';
|
||||
|
||||
|
@ -114,7 +114,7 @@ class Controller {
|
|||
|
||||
let selected = this.selected;
|
||||
|
||||
if (this.eventType == 'always') {
|
||||
if (this.eventType == 'indefinitely') {
|
||||
selected.from = null;
|
||||
selected.to = null;
|
||||
}
|
||||
|
|
|
@ -17,6 +17,7 @@ vn-zone-events {
|
|||
justify-content: center;
|
||||
align-items: center;
|
||||
outline: none;
|
||||
background-color: rgba(0, 0, 0, .05);
|
||||
|
||||
&.marked {
|
||||
background: $color-main;
|
||||
|
|
|
@ -17,11 +17,12 @@ Search zone by id or name: Buscar zonas por identificador o nombre
|
|||
From: Desde
|
||||
To: Hasta
|
||||
Closing: Cierre
|
||||
Specific day: Día específico
|
||||
One day: Un día
|
||||
Range of dates: Rango de fechas
|
||||
Always: Siempre
|
||||
Indefinitely: Indefinido
|
||||
Everyday: Todos los días
|
||||
Delivery days: Días de entrega
|
||||
Province: Provincia
|
||||
Postcode: Código postal
|
||||
Inflation: Inflación
|
||||
Query: Consultar
|
||||
|
|
Loading…
Reference in New Issue