waibu-blu 2.4.2 → 2.5.0

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.
@@ -8,8 +8,10 @@
8
8
  <c:nav tag="ul">
9
9
  </c:nav>
10
10
  <c:nav tag="ul" dim="width:100" flex="justify-content:end">
11
- <% if (_meta.isAdmin) { %>
11
+ <% if (_.get(_meta, 'user.isAdmin')) { %>
12
12
  <c:btn color="danger" href="waibuAdmin:/" t:content="adminArea" margin="end-3"/>
13
+ <% } else if (_.get(_meta, 'user.isXSiteAdmin')) { %>
14
+ <c:btn color="danger" href="waibuAdmin:/" t:content="xSiteAdminArea" margin="end-3"/>
13
15
  <% } %>
14
16
  <% if (_hasPlugin('sumbaGeofence')) { %>
15
17
  <c:geofence-nav-dropdown-alert dropdown-menu-dir="end" text="color:light" />
@@ -5,7 +5,7 @@
5
5
  </c:card>
6
6
  <c:card margin="bottom-3">
7
7
  <c:card-body>
8
- <c:wdb-table id="main-table" border body-divider strip responsive padding="all-3"/>
8
+ <c:wdb-data-table id="main-table" border body-divider strip responsive padding="all-3"/>
9
9
  <!-- include waibuDb.partial:/crud/_list-footer.html -->
10
10
  </c:card-body>
11
11
  </c:card>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waibu-blu",
3
- "version": "2.4.2",
3
+ "version": "2.5.0",
4
4
  "description": "Blu theme for Waibu Framework",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/wiki/CHANGES.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changes
2
2
 
3
+ ## 2026-05-22
4
+
5
+ - [2.5.0] Add button for user with ```isXSiteAdmin```
6
+
7
+ ## 2026-04-19
8
+
9
+ - [2.4.3] Update all widgets ```wdb-table``` to ```wdb-data-table```
10
+
3
11
  ## 2026-04-02
4
12
 
5
13
  - [2.4.1] Bug fix in show warnings template