DEV: use the empty-state component (#261)

This commit is contained in:
Andrei Prigorshnev 2021-12-08 21:23:10 +01:00 committed by GitHub
parent f901c5fe97
commit 3a76a465a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 6 deletions

View File

@ -1,3 +1,4 @@
2.8.0.beta8: f901c5fe97c272c884c1e6cfdad1ad1cbe0b36be
2.8.0.beta7: 3a8e45700ca6356fd55a4b88583cd8adeada14ad 2.8.0.beta7: 3a8e45700ca6356fd55a4b88583cd8adeada14ad
2.8.0.beta1: 54c670536c416ac1acfd6fb24d6aa0e48cc1ef18 2.8.0.beta1: 54c670536c416ac1acfd6fb24d6aa0e48cc1ef18
2.7.0.beta3: b3367ba9d2232e00f2ae66d4c4da5787c039f953 2.7.0.beta3: b3367ba9d2232e00f2ae66d4c4da5787c039f953

View File

@ -1,10 +1,8 @@
{{#if doesntHaveAssignments}} {{#if doesntHaveAssignments}}
<div class="empty-state"> <EmptyState
<span class="empty-state-title">{{i18n "user.no_assignments_title"}}</span> @title={{i18n "user.no_assignments_title"}}
<div class="empty-state-body"> @body={{emptyStateBody}}
<p>{{emptyStateBody}}</p> />
</div>
</div>
{{else}} {{else}}
<div class="topic-search-div"> <div class="topic-search-div">
<div class="inline-form full-width"> <div class="inline-form full-width">