commit
5579b74e7c
@ -10,6 +10,7 @@ import BaseIcon from '../components/BaseIcon';
|
|||||||
import { getPageTitle } from '../config';
|
import { getPageTitle } from '../config';
|
||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
import { useTranslation } from 'next-i18next';
|
import { useTranslation } from 'next-i18next';
|
||||||
|
import TableOrders from '../components/TableOrders';
|
||||||
|
|
||||||
import { hasPermission } from '../helpers/userPermissions';
|
import { hasPermission } from '../helpers/userPermissions';
|
||||||
import { fetchWidgets } from '../stores/roles/rolesSlice';
|
import { fetchWidgets } from '../stores/roles/rolesSlice';
|
||||||
@ -137,6 +138,13 @@ const Dashboard = () => {
|
|||||||
>
|
>
|
||||||
{''}
|
{''}
|
||||||
</SectionTitleLineWithButton>
|
</SectionTitleLineWithButton>
|
||||||
|
{/* Welcome message under page title */}
|
||||||
|
{currentUser?.first_name && (
|
||||||
|
<p className="text-lg font-medium mt-2 mb-6">
|
||||||
|
Welcome to VRES, {currentUser.first_name}!
|
||||||
|
</p>
|
||||||
|
)}
|
||||||
|
|
||||||
|
|
||||||
{hasPermission(currentUser, 'CREATE_ROLES') && (
|
{hasPermission(currentUser, 'CREATE_ROLES') && (
|
||||||
<WidgetCreator
|
<WidgetCreator
|
||||||
@ -612,6 +620,7 @@ const Dashboard = () => {
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</SectionMain>
|
</SectionMain>
|
||||||
|
<TableOrders filterStatus="open" />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@ -54,7 +54,7 @@ module.exports = {
|
|||||||
blue: '#244E5E',
|
blue: '#244E5E',
|
||||||
green: '#00B448',
|
green: '#00B448',
|
||||||
orange: '#FFAA00',
|
orange: '#FFAA00',
|
||||||
red: '#F20041',
|
red: '#BD021E',
|
||||||
900: '#141F2A',
|
900: '#141F2A',
|
||||||
800: '#4b5b66',
|
800: '#4b5b66',
|
||||||
700: '#5e7785',
|
700: '#5e7785',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user