Browse Source

chip 'atencao diaria' no bloco de servicos do dia

Gustavo Zanatta 1 week ago
parent
commit
583068ba01

+ 18 - 2
src/components/dashboard/DashboardTodaySchedules.vue

@@ -1,7 +1,13 @@
 <template>
   <div class="q-mx-md q-mb-md">
-    <div class="font16 fontbold gradient-diarista q-mb-sm">
-      {{ $t("dashboard_client.today_schedules.title") }}
+    <div class="row items-center no-wrap q-mb-sm">
+      <span class="font16 fontbold gradient-diarista">
+        {{ $t("dashboard_client.today_schedules.title") }}
+      </span>
+
+      <div class="attention-badge q-ml-sm">
+        {{ $t("dashboard_client.today_schedules.attention_badge") }}
+      </div>
     </div>
 
     <div class="scroll-wrapper">
@@ -353,6 +359,16 @@ onBeforeUnmount(() => {
 </script>
 
 <style scoped lang="scss">
+.attention-badge {
+  background: #22c55e;
+  color: white;
+  font-size: 11px;
+  font-weight: 700;
+  border-radius: 999px;
+  padding: 1px 8px;
+  white-space: nowrap;
+}
+
 .scroll-wrapper {
   overflow: hidden;
 }

+ 1 - 0
src/i18n/locales/en.json

@@ -442,6 +442,7 @@
     },
     "today_schedules": {
       "title": "Today",
+      "attention_badge": "attention, daily service!",
       "start_with": "Service starting with",
       "not_started_label": "Starting soon with",
       "started_by": "Service started by",

+ 1 - 0
src/i18n/locales/es.json

@@ -442,6 +442,7 @@
     },
     "today_schedules": {
       "title": "Hoy",
+      "attention_badge": "¡atención, diaria!",
       "start_with": "Servicio iniciado con",
       "not_started_label": "Comienza pronto con",
       "started_by": "Servicio iniciado por",

+ 1 - 0
src/i18n/locales/pt.json

@@ -442,6 +442,7 @@
     },
     "today_schedules": {
       "title": "Hoje",
+      "attention_badge": "atenção, diária!",
       "start_with": "Início do serviço com",
       "not_started_label": "Início em breve com",
       "started_by": "Serviço iniciado por",