UX: Add title & adjust dnd image (#29812)

This commit is contained in:
Jordan Vidrine 2024-11-18 19:25:41 -06:00 committed by GitHub
parent 809ce5f5da
commit 2a59df79d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 3 deletions

View File

@ -76,7 +76,10 @@ export default class Notifications extends Component {
{{/if}} {{/if}}
{{#if this.isInDoNotDisturb}} {{#if this.isInDoNotDisturb}}
<div class="do-not-disturb-background">{{icon "discourse-dnd"}}</div> <div
class="do-not-disturb-background"
title={{i18n "notifications.paused"}}
>{{icon "discourse-dnd"}}</div>
{{else}} {{else}}
{{#if this.currentUser.new_personal_messages_notifications_count}} {{#if this.currentUser.new_personal_messages_notifications_count}}
<a <a

View File

@ -400,10 +400,11 @@ textarea {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
width: 1.25em; width: 1em;
background-color: var(--secondary); background-color: var(--secondary);
border-radius: 50%; border-radius: 50%;
height: 1.25em; height: 1em;
box-shadow: 0px 0px 0px 2px var(--secondary);
.d-icon.d-icon-discourse-dnd { .d-icon.d-icon-discourse-dnd {
color: var(--header_primary-medium) !important; color: var(--header_primary-medium) !important;

View File

@ -2810,6 +2810,7 @@ en:
new_reviewable: new_reviewable:
one: "%{count} new reviewable" one: "%{count} new reviewable"
other: "%{count} new reviewables" other: "%{count} new reviewables"
paused: "Notifications paused"
title: "notifications of @name mentions, replies to your posts and topics, messages, etc" title: "notifications of @name mentions, replies to your posts and topics, messages, etc"
none: "Unable to load notifications at this time." none: "Unable to load notifications at this time."
empty: "No notifications found." empty: "No notifications found."