diff --git a/frontend/src/api/admin.js b/frontend/src/api/admin.js index ff2b7b860..901753702 100644 --- a/frontend/src/api/admin.js +++ b/frontend/src/api/admin.js @@ -7,4 +7,7 @@ export default { getNotifications() { return repository.get('/admin/notifications/') }, + getNewsFeed() { + return repository.get('/admin/news_feed/') + }, } diff --git a/frontend/src/components/admin/dashboard/NewsFeedWidget.vue b/frontend/src/components/admin/dashboard/NewsFeedWidget.vue new file mode 100644 index 000000000..4fc85bbf2 --- /dev/null +++ b/frontend/src/components/admin/dashboard/NewsFeedWidget.vue @@ -0,0 +1,52 @@ + + + + + diff --git a/frontend/src/views/DashboardView.vue b/frontend/src/views/DashboardView.vue index a49f60dfa..1ebb1642d 100644 --- a/frontend/src/views/DashboardView.vue +++ b/frontend/src/views/DashboardView.vue @@ -2,25 +2,18 @@ {{ $gettext('Welcome to Modoboa') }} - -

{{ $gettext('This page is still under construction.') }}

-

- {{ - $gettext( - "It will present a summary of your Modoboa server's status and some useful information about the product." - ) - }} -

-

- Your feedback would be really appreciated, you can use - Github discussions - to share your ideas and/or comments. -

-
+ + + + + + + +