mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 00:47:46 -06:00
UX: Add title & adjust dnd image (#29812)
This commit is contained in:
parent
809ce5f5da
commit
2a59df79d3
@ -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
|
||||||
|
@ -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;
|
||||||
|
@ -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."
|
||||||
|
Loading…
Reference in New Issue
Block a user