Skip to content

Commit 6c39054

Browse files
committed
Add notice about subscriptions to wizard admin panel
1 parent b3bcaa2 commit 6c39054

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

assets/javascripts/discourse/templates/admin-wizards.hbs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@
77
{{/if}}
88
{{nav-item route="adminWizardsLogs" label="admin.wizard.log.nav_label"}}
99
{{nav-item route="adminWizardsManager" label="admin.wizard.manager.nav_label"}}
10+
11+
<div class="announcement">
12+
<a href="https://custom-wizard.pavilion.tech/subscriptions" target="_blank" title="Click to learn more about Custom Wizard Subscriptions">
13+
<img src='/images/emoji/twitter/man_mage.png?v=12'>
14+
<span>Custom Wizard Subscriptions Are Coming!</span>
15+
</a>
16+
</div>
1017
{{/admin-nav}}
1118

1219
<div class="admin-container">

assets/stylesheets/common/wizard-admin.scss

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,24 @@
33
@import "wizard-api";
44
@import "common/components/buttons";
55

6+
.announcement {
7+
margin-left: auto;
8+
9+
a {
10+
display: flex;
11+
color: #fff;
12+
background-color: #3c1c8d;
13+
padding: 6px 12px;
14+
text-decoration: none;
15+
16+
img {
17+
width: 20px;
18+
height: 20px;
19+
margin-right: 0.5rem;
20+
}
21+
}
22+
}
23+
624
.admin-wizard-controls {
725
display: flex;
826
align-items: center;

0 commit comments

Comments
 (0)