diff --git a/app/javascript/dashboard/i18n/locale/en/sla.json b/app/javascript/dashboard/i18n/locale/en/sla.json
index dcf8d2dca..d9670eb06 100644
--- a/app/javascript/dashboard/i18n/locale/en/sla.json
+++ b/app/javascript/dashboard/i18n/locale/en/sla.json
@@ -4,22 +4,9 @@
"ADD_ACTION": "Add SLA",
"DESCRIPTION": "Service Level Agreements (SLAs) are contracts that define clear expectations between your team and customers. They establish standards for response and resolution times, creating a framework for accountability and ensures a consistent, high-quality experience.",
"LEARN_MORE": "Learn more about SLA",
- "HEADER_BTN_TXT": "Add SLA",
"LOADING": "Fetching SLAs",
- "SEARCH_404": "There are no items matching this query",
- "SIDEBAR_TXT": "
SLA
Think of Service Level Agreements (SLAs) like friendly promises between a service provider and a customer.
These promises set clear expectations for things like how quickly the team will respond to issues, making sure you always get a reliable and top-notch experience!
",
"LIST": {
"404": "There are no SLAs available in this account.",
- "TITLE": "Manage SLA",
- "DESC": "SLAs: Friendly promises for great service!",
- "TABLE_HEADER": [
- "Name",
- "Description",
- "FRT",
- "NRT",
- "RT",
- "Business Hours"
- ],
"BUSINESS_HOURS_ON": "Business hours on",
"BUSINESS_HOURS_OFF": "Business hours off",
"RESPONSE_TYPES": {
diff --git a/app/javascript/dashboard/routes/dashboard/settings/SettingsLayout.vue b/app/javascript/dashboard/routes/dashboard/settings/SettingsLayout.vue
index 6dd3c306b..618805309 100644
--- a/app/javascript/dashboard/routes/dashboard/settings/SettingsLayout.vue
+++ b/app/javascript/dashboard/routes/dashboard/settings/SettingsLayout.vue
@@ -1,6 +1,23 @@
+
diff --git a/app/javascript/dashboard/routes/dashboard/settings/components/BaseSettingsListItem.vue b/app/javascript/dashboard/routes/dashboard/settings/components/BaseSettingsListItem.vue
index 005eece80..337c370cd 100644
--- a/app/javascript/dashboard/routes/dashboard/settings/components/BaseSettingsListItem.vue
+++ b/app/javascript/dashboard/routes/dashboard/settings/components/BaseSettingsListItem.vue
@@ -12,7 +12,7 @@ defineProps({
diff --git a/app/javascript/dashboard/routes/dashboard/settings/sla/Index.vue b/app/javascript/dashboard/routes/dashboard/settings/sla/Index.vue
index 8728a236c..278927d33 100644
--- a/app/javascript/dashboard/routes/dashboard/settings/sla/Index.vue
+++ b/app/javascript/dashboard/routes/dashboard/settings/sla/Index.vue
@@ -1,99 +1,58 @@
-
-
- {{ $t('SLA.HEADER_BTN_TXT') }}
-
-
-
-
- {{ $t('SLA.LIST.404') }}
-
-
+
+
+
+
+
+
+
+
+ {{ $t('SLA.LIST.404') }}
+
+
+
-
-
- |
- {{ thHeader }}
- |
-
-
-
- |
-
- {{ sla.name }}
-
- |
- {{ sla.description }} |
-
-
- {{ displayTime(sla.first_response_time_threshold) }}
-
- |
-
-
- {{ displayTime(sla.next_response_time_threshold) }}
-
- |
-
-
- {{ displayTime(sla.resolution_time_threshold) }}
-
- |
-
-
- {{ sla.only_during_business_hours }}
-
- |
-
-
- |
-
-
-
-
-
-
-
-
-
-
+
+
+
-
-
+
+
+
-
+
diff --git a/app/javascript/dashboard/routes/dashboard/settings/sla/components/SLAListItemLoading.vue b/app/javascript/dashboard/routes/dashboard/settings/sla/components/SLAListItemLoading.vue
new file mode 100644
index 000000000..7521ef9f5
--- /dev/null
+++ b/app/javascript/dashboard/routes/dashboard/settings/sla/components/SLAListItemLoading.vue
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/javascript/dashboard/routes/dashboard/settings/sla/sla.routes.js b/app/javascript/dashboard/routes/dashboard/settings/sla/sla.routes.js
index 473cb03cb..a9c68470a 100644
--- a/app/javascript/dashboard/routes/dashboard/settings/sla/sla.routes.js
+++ b/app/javascript/dashboard/routes/dashboard/settings/sla/sla.routes.js
@@ -1,18 +1,14 @@
import { frontendURL } from '../../../../helper/URLHelper';
-const SettingsContent = () => import('../Wrapper.vue');
+const SettingsWrapper = () => import('../SettingsWrapper.vue');
const Index = () => import('./Index.vue');
export default {
routes: [
{
path: frontendURL('accounts/:accountId/settings/sla'),
- component: SettingsContent,
- props: {
- headerTitle: 'SLA.HEADER',
- icon: 'document-list-clock',
- showNewButton: true,
- },
+ component: SettingsWrapper,
+ props: {},
children: [
{
path: '',