Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e
infra
ecloud
nextcloud-apps
calendar
Commits
8a3edb79
Commit
8a3edb79
authored
Jun 15, 2022
by
greta
Browse files
Migrate icon of emptycontent dashboard to material design
Signed-off-by:
greta
<
gretadoci@gmail.com
>
parent
e83f2156
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/components/AppNavigation/CalendarList/CalendarListItemSharingPublishItem.vue
View file @
8a3edb79
...
...
@@ -89,8 +89,7 @@
<!-- eslint-disable-next-line no-irregular-whitespace -->
{{ $t('calendar', 'Copying link …') }}
</ActionText>
<ActionText
v-if=
"showCopySubscriptionLinkSuccess"
icon=
"icon-calendar-dark"
>
<ActionText
v-if=
"showCopySubscriptionLinkSuccess"
>
<
template
#icon
>
<CalendarBlank
:size=
"20"
decorative
/>
</
template
>
...
...
src/views/Dashboard.vue
View file @
8a3edb79
...
...
@@ -50,8 +50,10 @@
</DashboardWidgetItem>
</template>
<
template
#empty-content
>
<EmptyContent
id=
"calendar-widget-empty-content"
icon=
"icon-calendar-dark"
>
<EmptyContent
id=
"calendar-widget-empty-content"
>
<template
#icon
>
<EmptyCalendar
/>
</
template
>
<
template
#desc
>
{{
t
(
'
calendar
'
,
'
No upcoming events
'
)
}}
<div
class=
"empty-label"
>
...
...
@@ -66,6 +68,7 @@
<
script
>
import
{
DashboardWidget
,
DashboardWidgetItem
}
from
'
@nextcloud/vue-dashboard
'
import
EmptyContent
from
'
@nextcloud/vue/dist/Components/EmptyContent
'
import
EmptyCalendar
from
'
vue-material-design-icons/CalendarBlankOutline
'
import
{
loadState
}
from
'
@nextcloud/initial-state
'
import
moment
from
'
@nextcloud/moment
'
import
{
imagePath
,
generateUrl
}
from
'
@nextcloud/router
'
...
...
@@ -83,6 +86,7 @@ export default {
DashboardWidget
,
DashboardWidgetItem
,
EmptyContent
,
EmptyCalendar
,
},
data
()
{
return
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment