Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update notification banner and global nav #1292

Merged
merged 2 commits into from
Sep 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions site/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ enableEmoji = true

[params.notification]
enable = true
url = "https://mattermost.com/blog/mattermost-v8-0-is-now-available/"
text = "Mattermost Version 8.0 is Now Available »"
url = "https://mattermost.com/blog/mattermost-v9-0-is-now-available/"
text = "Mattermost Version 9.0 is Now Available »"

[params.search]
enable = true
Expand Down
11 changes: 8 additions & 3 deletions site/layouts/partials/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,12 @@
</li>
<li class="sub-menu__links--single">
<a href="https://mattermost.com/solutions/use-cases/accelerate-productivity/" data-ol-has-click-handler="">
Process &amp; Decision Optimization
Decision Optimization
</a>
</li>
<li class="sub-menu__links--single">
<a href="https://mattermost.com/open-source/" data-ol-has-click-handler="">
Open Source
</a>
</li>
</ul>
Expand Down Expand Up @@ -196,7 +201,7 @@
</a>
</li>
<li class="sub-menu__links--single">
<a href="https://academy.mattermost.com/p/mattermost-end-user-onboarding" data-ol-has-click-handler="">
<a href="https://academy.mattermost.com/" data-ol-has-click-handler="">
Academy
</a>
</li>
Expand All @@ -211,7 +216,7 @@
</a>
</li>
<li class="sub-menu__links--single">
<a href="https://docs.mattermost.com/administration/changelog.html" data-ol-has-click-handler="">
<a href="https://docs.mattermost.com/guides/changelogs.html" data-ol-has-click-handler="">
Release Notes
</a>
</li>
Expand Down
11 changes: 8 additions & 3 deletions site/layouts/partials/nav2.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,12 @@
</li>
<li class="sub-menu__links--single">
<a href="https://mattermost.com/solutions/use-cases/accelerate-productivity/" data-ol-has-click-handler="">
Process &amp; Decision Optimization
Decision Optimization
</a>
</li>
<li class="sub-menu__links--single">
<a href="https://mattermost.com/open-source/" data-ol-has-click-handler="">
Open Source
</a>
</li>
</ul>
Expand Down Expand Up @@ -196,7 +201,7 @@
</a>
</li>
<li class="sub-menu__links--single">
<a href="https://academy.mattermost.com/p/mattermost-end-user-onboarding" data-ol-has-click-handler="">
<a href="https://academy.mattermost.com/" data-ol-has-click-handler="">
Academy
</a>
</li>
Expand All @@ -211,7 +216,7 @@
</a>
</li>
<li class="sub-menu__links--single">
<a href="https://docs.mattermost.com/administration/changelog.html" data-ol-has-click-handler="">
<a href="https://docs.mattermost.com/guides/changelogs.html" data-ol-has-click-handler="">
Release Notes
</a>
</li>
Expand Down
2 changes: 1 addition & 1 deletion site/static/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ $(document).ready(function () {
// Keep "mm_notification_banner__" at the beginning of the key
// Add system to clean out storage items that are no longer needed

const notification_banner_key = 'mm_notification_banner__8-0-release';
const notification_banner_key = 'mm_notification_banner__9-0-release';
const showBanner = localStorage.getItem(notification_banner_key);

if (showBanner === null) {
Expand Down
Loading