Skip to content

Commit

Permalink
Merge pull request #49 from uclouvain/feature/ON-9023
Browse files Browse the repository at this point in the history
[OSIS-9023] OSIS notification alignement notifications
  • Loading branch information
mathieuzen authored May 21, 2024
2 parents 4a1fb24 + d1a66eb commit 4753084
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/NotificationViewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
<template v-else>
<li>
<a
class="btn"
class="btn d-block text-center"
:class="{ disabled: !unreadNotificationsCount }"
@click="markAllAsRead"
>
Expand Down
3 changes: 2 additions & 1 deletion frontend/components/NotificationEntry.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,13 @@
:id="`notification-${uuid}`"
:checked="isSent"
type="radio"
class="mt-1"
data-toggle="tooltip"
data-bs-toggle="tooltip"
:data-original-title="isSent ? $t('notification.mark_as_read') : $t('notification.mark_as_unread')"
@click.prevent="$emit('toggle', uuid)"
>
<span class="label label-primary">{{ sentAt }}</span>
<span class="label label-primary badge bg-primary">{{ sentAt }}</span>
<TruncateHtml
button-css-class="btn btn-link"
container-css-class="notification-text"
Expand Down

0 comments on commit 4753084

Please sign in to comment.