mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-15 11:42:15 +01:00
improve empty state texts for employees
This commit is contained in:
@@ -65,9 +65,19 @@ import { isAllowedToPerformPremiumAction } from '@/utils/billing';
|
|||||||
v-if="projects.length === 0">
|
v-if="projects.length === 0">
|
||||||
<FolderPlusIcon
|
<FolderPlusIcon
|
||||||
class="w-8 text-icon-default inline pb-2"></FolderPlusIcon>
|
class="w-8 text-icon-default inline pb-2"></FolderPlusIcon>
|
||||||
<h3 class="text-white font-semibold">No projects found</h3>
|
<h3 class="text-white font-semibold">
|
||||||
<p class="pb-5" v-if="canCreateProjects()">
|
{{
|
||||||
Create your first project now!
|
canCreateProjects()
|
||||||
|
? 'No projects found'
|
||||||
|
: 'You are not a member of any projects'
|
||||||
|
}}
|
||||||
|
</h3>
|
||||||
|
<p class="pb-5 max-w-md mx-auto text-sm pt-1">
|
||||||
|
{{
|
||||||
|
canCreateProjects()
|
||||||
|
? 'Create your first project now!'
|
||||||
|
: 'Ask your manager to add you to a project as a team member.'
|
||||||
|
}}
|
||||||
</p>
|
</p>
|
||||||
<SecondaryButton
|
<SecondaryButton
|
||||||
v-if="canCreateProjects()"
|
v-if="canCreateProjects()"
|
||||||
|
|||||||
Reference in New Issue
Block a user