{success}
+{error}
+- Create and manage reusable email templates for your campaigns and workflows.{' '} - {data?.total ? `${data.total} total templates` : ''} -
+ {/* Header */} ++ Create and manage reusable email templates for your campaigns and workflows.{' '} + {data?.total ? `${data.total} total templates` : ''} +
+Loading templates...
+ {/* Search & Filters */} +- {search ? 'Try adjusting your search terms' : 'Get started by creating your first template'} -
- {!search && ( - - - + + {search && ( + )}Subject
-{template.subject}
-From
-{template.from}
-- Showing {(page - 1) * data.pageSize + 1} to {Math.min(page * data.pageSize, data.total)} of{' '} - {data.total} templates -
-Loading templates...
++ {search ? 'Try adjusting your search terms' : 'Get started by creating your first template'} +
+ {!search && ( + + + + )} +Subject
+{template.subject}
+From
+{template.from}
++ Showing {(page - 1) * data.pageSize + 1} to {Math.min(page * data.pageSize, data.total)} of{' '} + {data.total} templates +
+- Automate your email campaigns with powerful workflows.{' '} - {data?.total ? `${data.total} total workflows` : ''} -
+ {/* Header */} ++ Automate your email campaigns with powerful workflows.{' '} + {data?.total ? `${data.total} total workflows` : ''} +
+Loading workflows...
+ {/* Workflows Grid */} +Loading workflows...
+- {search ? 'Try adjusting your search terms' : 'Get started by creating your first workflow'} -
- {!search && ( - - )} -+ {search ? 'Try adjusting your search terms' : 'Get started by creating your first workflow'} +
+ {!search && ( + + )} +- Showing {(page - 1) * data.pageSize + 1} to {Math.min(page * data.pageSize, data.total)} of{' '} - {data.total} workflows -
-+ Showing {(page - 1) * data.pageSize + 1} to {Math.min(page * data.pageSize, data.total)} of{' '} + {data.total} workflows +
+