Update dashboard placeholders

This commit is contained in:
aignatov-bio 2020-11-12 12:49:00 +01:00
parent 614bba01de
commit 6c305011ca
4 changed files with 3 additions and 7 deletions

View file

@ -67,7 +67,6 @@
width: 100%;
.widget-placeholder {
color: $color-alto;
padding: 24px;
.widget-placeholder-title {
@ -76,6 +75,7 @@
.widget-placeholder-description {
@include font-main;
color: $color-alto;
}
}
}

View file

@ -85,7 +85,6 @@
<p class="widget-placeholder-title assigned"><%= I18n.t('dashboard.current_tasks.no_tasks.assigned_tasks.title') %></p>
<% unless current_user.is_guest_of_team?(current_team) %>
<p class="widget-placeholder-description"><%= I18n.t('dashboard.current_tasks.no_tasks.assigned_tasks.description') %></p>
<i class="fas fa-angle-double-down"></i>
<% end %>
</div>
</template>

View file

@ -32,9 +32,6 @@
<% else %>
<p class="widget-placeholder-title"><%= t('dashboard.recent_work.no_results.title') %></p>
<p class="widget-placeholder-description"><%= t('dashboard.recent_work.no_results.description') %></p>
<div class="no-results-arrow">
<i class="fas fa-angle-double-left"></i>
</div>
<% end %>
</div>
</template>

View file

@ -29,7 +29,7 @@ en:
no_tasks:
assigned_tasks:
title: "There are no tasks assigned to you at the moment."
description: "Why not use the Quick start section to create your next task."
description: "Use the “+ New task” button above to create a new one, or assign yourself to an existing task."
team_tasks:
title: "Your Team has no tasks at the moment."
search_result:
@ -73,7 +73,7 @@ en:
title: "Recent work"
no_results:
title: "You have not worked on anything recently."
description: "Use the Quick start section to begin creating."
description: "All tasks, projects, inventories protocols and reports, you last worked on will appear here, when you make some changes."
no_results_guest:
title: "No recent work."
description: "As a guest in this team you cannot make or change anything."