follow-ups to 1972364: increase notification limit, make show-all a link
This commit is contained in:
parent
c25dc43f54
commit
9bc992dce4
|
@ -46,7 +46,8 @@ createWidgetFrom(QuickAccessPanel, "quick-access-notifications", {
|
||||||
"notification",
|
"notification",
|
||||||
{
|
{
|
||||||
recent: true,
|
recent: true,
|
||||||
silent: this.currentUser.enforcedSecondFactor
|
silent: this.currentUser.enforcedSecondFactor,
|
||||||
|
limit: 30
|
||||||
},
|
},
|
||||||
{ cacheKey: "recent-notifications" }
|
{ cacheKey: "recent-notifications" }
|
||||||
);
|
);
|
||||||
|
|
|
@ -102,11 +102,12 @@ export default createWidget("quick-access-panel", {
|
||||||
|
|
||||||
if (!this.hideBottomItems()) {
|
if (!this.hideBottomItems()) {
|
||||||
bottomItems.push(
|
bottomItems.push(
|
||||||
this.attach("button", {
|
// intentionally a link so it can be ctrl clicked
|
||||||
|
this.attach("link", {
|
||||||
title: "view_all",
|
title: "view_all",
|
||||||
icon: "chevron-down",
|
icon: "chevron-down",
|
||||||
className: "show-all",
|
className: "btn btn-default btn-icon no-text show-all",
|
||||||
url: this.showAllHref()
|
href: this.showAllHref()
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -75,7 +75,7 @@
|
||||||
margin-left: 0.5em;
|
margin-left: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
.btn {
|
||||||
background-color: var(--primary-very-low);
|
background-color: var(--primary-very-low);
|
||||||
color: var(--primary-high);
|
color: var(--primary-high);
|
||||||
&:hover {
|
&:hover {
|
||||||
|
|
Loading…
Reference in New Issue