Skip to content

Commit

Permalink
Update the mesagge design for empty results in Tasks tables
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavobascope authored and ryancooley committed Feb 15, 2024
1 parent 3ddcf97 commit 6c2fbc1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions resources/js/components/common/DataLoading.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
<div class="empty-title">{{ emptyText() }}</div>
<div class="img-container">
<div v-if="emptyIconType() === 'beach'">
<img src="../../../img/no-results.svg" class="no-results-img" alt="no-results">
<img src="/img/no-results.svg" class="no-results-img" alt="no-results">
</div>
<div v-if="emptyIconType() === 'noData'">
<img src="../../../img/no-results.svg" class="no-results-img" alt="no-results">
<img src="/img/no-results.svg" class="no-results-img" alt="no-results">
</div>
<div v-if="emptyIconType() === 'noTasks'">
<img src="../../../img/no-tasks.svg" class="no-results-img" alt="no-results">
<img src="/img/all-cleared.svg" class="no-results-img" alt="no-results">
</div>
</div>
<p class="empty-desc">{{ emptyDescText() }}</p>
Expand Down
4 changes: 2 additions & 2 deletions resources/js/tasks/components/TasksList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@
<data-loading
v-show="shouldShowLoader"
:for="/tasks\?page|results\?page/"
:empty="$t('Well, it seems nothing in here')"
:empty-desc="$t('You don\'t currently have any tasks assigned to you')"
:empty="$t('All clear')"
:empty-desc="$t('No new tasks at this moment.')"
empty-icon="noTasks"
/>
<pagination-table
Expand Down
1 change: 1 addition & 0 deletions resources/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1043,6 +1043,7 @@
"No files available for download": "No files available for download",
"No Loop Mode": "No Loop Mode",
"No new notifications at the moment.": "No new notifications at the moment.",
"No new tasks at this moment.": "No new tasks at this moment.",
"No Notifications Found": "No Notifications Found",
"no problems to report": "no problems to report",
"No Processes Available": "No Processes Available",
Expand Down

0 comments on commit 6c2fbc1

Please sign in to comment.