Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-Core
Commits
4f7e1654
Commit
4f7e1654
authored
2 years ago
by
Julian
Browse files
Options
Downloads
Patches
Plain Diff
Reorganize layout of notifications
parent
0a9f64da
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1125
Resolve "[Vue] Notifications look ugly"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aleksis/core/assets/components/notifications/NotificationItem.vue
+17
-10
17 additions, 10 deletions
...core/assets/components/notifications/NotificationItem.vue
with
17 additions
and
10 deletions
aleksis/core/assets/components/notifications/NotificationItem.vue
+
17
−
10
View file @
4f7e1654
...
...
@@ -5,15 +5,26 @@
>
<template
#default
="
{ mutate, loading, error }">
<v-list-item
:input-value=
"!notification.read"
>
<v-list-item-avatar>
<v-icon
:class=
"notification.read ? 'grey lighten-1' : 'primary white--text'"
dark
>
mdi-monitor-dashboard
</v-icon>
</v-list-item-avatar>
<v-list-item-content>
<v-list-item-title>
{{
notification
.
title
}}
</v-list-item-title>
<v-list-item-subtitle
class=
"caption"
>
<v-chip
color=
"primary"
label
x-small
outlined
>
{{
notification
.
sender
}}
</v-chip>
<v-list-item-title>
{{
notification
.
title
}}
</v-list-item-title>
<v-icon>
mdi-circle-small
</v-icon>
<v-list-item-subtitle
class=
"font-weight-regular"
>
{{
notification
.
description
}}
</v-list-item-subtitle>
<v-list-item-subtitle
class=
"caption font-weight-regular"
>
<v-chip
x-small
outlined
>
{{
notification
.
sender
}}
</v-chip>
·
<v-tooltip
bottom
>
<template
v-slot:activator=
"
{ on, attrs }">
<span
...
...
@@ -24,10 +35,6 @@
<span>
{{ $d(new Date(notification.created), "long") }}
</span>
</v-tooltip>
</v-list-item-subtitle>
<v-list-item-subtitle>
{{ notification.description }}
</v-list-item-subtitle>
</v-list-item-content>
<v-list-item-action>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment