nodebb-theme-persona 11.3.13 → 11.3.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/less/groups.less CHANGED
@@ -22,7 +22,7 @@
22
22
  margin-bottom: 1em;
23
23
  background-origin: content-box;
24
24
  width: 100%;
25
- top: 50px;
25
+ top: calc(var(--panel-offset) + @navbar-height);
26
26
  position: absolute;
27
27
  left: auto;
28
28
  right: 0px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-theme-persona",
3
- "version": "11.3.13",
3
+ "version": "11.3.17",
4
4
  "nbbpm": {
5
5
  "compatibility": "^1.18.0"
6
6
  },
@@ -1,5 +1,5 @@
1
1
  <!DOCTYPE html>
2
- <html lang="{function.localeToHTML, userLang, defaultLang}" {{{if languageDirection}}}data-dir="{languageDirection}" style="direction: {languageDirection};" {{{end}}} >
2
+ <html lang="{function.localeToHTML, userLang, defaultLang}" {{{if languageDirection}}}data-dir="{languageDirection}" style="direction: {languageDirection}; --panel-offset: 50px;" {{{end}}} >
3
3
  <head>
4
4
  <title>{browserTitle}</title>
5
5
  {{{each metaTags}}}{function.buildMetaTag}{{{end}}}
@@ -6,11 +6,9 @@
6
6
  <input type="text" class="form-control" autocomplete="off">
7
7
  </div>
8
8
  <ul component="category/list" class="dropdown-menu category-dropdown-menu" role="menu">
9
- {{{ if allCategoriesUrl }}}
10
9
  <li role="presentation" class="category" data-all="all">
11
10
  <a role="menu-item" href="{config.relative_path}/{allCategoriesUrl}"><i component="category/select/icon" class="fa fa-fw fa-check {{{if selectedCategory}}}invisible{{{end}}}"></i> [[unread:all_categories]]</a>
12
11
  </li>
13
- {{{ end }}}
14
12
  {{{each categoryItems}}}
15
13
  <li role="presentation" class="category {{{ if ../disabledClass }}}disabled{{{ end }}}" data-cid="{../cid}" data-parent-cid="{../parentCid}" data-name="{../name}">
16
14
  <a role="menu-item" href="#">{../level}<i component="category/select/icon" class="fa fa-fw fa-check {{{ if !../selected }}}invisible{{{ end }}}"></i><span component="category-markup" style="{{{ if ../match }}}font-weight: bold;{{{end}}}">{{{ if ../icon }}}<span class="fa-stack" style="{function.generateCategoryBackground}"><i class="fa fa-fw fa-stack-1x {../icon}" style="color: {../color};"></i></span>{{{ end }}} {../name}</span></a>
@@ -1,7 +1,15 @@
1
- <div class="alert alert-success">
2
- <strong>[[global:alert.success]]</strong>
3
- <p>[[email:unsub.success, {payload.template}]]</p>
4
- <p>
5
- <a href="{config.relative_path}/">[[notifications:back_to_home, {config.siteTitle}]]</a>
6
- </p>
1
+ {{{ if !error }}}
2
+ <div class="alert alert-success">
3
+ <strong>[[global:alert.success]]</strong>
4
+ <p>[[email:unsub.success, {payload.template}]]</p>
5
+ {{{ else }}}
6
+ <div class="alert alert-warning">
7
+ <strong>[[email:unsub.failure.title]]</strong>
8
+ <p>[[email:unsub.failure.message, {error}, {config.relative_path}/me/settings]]</p>
9
+ {{{ end }}}
10
+ <hr />
11
+
12
+ <p>
13
+ <a href="{config.relative_path}/">[[notifications:back_to_home, {config.siteTitle}]]</a>
14
+ </p>
7
15
  </div>