mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 16:28:50 +00:00
- Added a permission to show or hide update version information on that dashboard as a card that will only show when new update info is available and not yet dismissed.
- Updated Lists so list items added will have their fist letter auto-capitalized
- Updated Lists so list items are searched against the products before being added to the list, so we have store info more commonly in lists
- Updated Products so new products will have their first letter capitalized automatically
- Updated the dashboard to show the Update Available card if this is enbaled in permissions.
- The dashboard card only shows for System Admin roles.
- The dashboard card is enabled by default
- The dashboard card is pulled from the GitLab releases RSS feed.
- The RSS Feed is only checked every 30 minutes using node-cron
- Updated System Configuration to have a toggle for the update available card
- Added a bell icon to the top and slide out navigation, shown when a new update is available, if update available is enabled in system configuration.
53 lines
2.2 KiB
HTML
53 lines
2.2 KiB
HTML
<template name="systemAdmin">
|
|
<h2>System Administration</h2>
|
|
<div class="row">
|
|
<div class="col s12">
|
|
<div class="card">
|
|
<div class="card-content">
|
|
<h4>Registration Settings</h4>
|
|
<div class="row">
|
|
<div class="col s12 m6 l6">
|
|
<div class="switch">
|
|
<label>
|
|
<input type="checkbox" class="currConfigs" id="allowAdmReg">
|
|
<span class="lever"></span>
|
|
Allow Admin Registration
|
|
</label>
|
|
</div>
|
|
</div>
|
|
<div class="col s12 m6 l6">
|
|
<div class="switch">
|
|
<label>
|
|
<input type="checkbox" class="currConfigs" id="allowGenReg">
|
|
<span class="lever"></span>
|
|
Allow Registration
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col s12">
|
|
<div class="card">
|
|
<div class="card-content">
|
|
<h4>Update Notifications</h4>
|
|
<p>This option requires the seerver to have an internet connection.</p>
|
|
<br>
|
|
<div class="row">
|
|
<div class="col s12 m12 l6">
|
|
<div class="switch">
|
|
<label>
|
|
<input type="checkbox" class="currConfigs" id="recvUpdateMsgs">
|
|
<span class="lever"></span>
|
|
System Admin will receive information on updates and new featres
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{> snackbar}}
|
|
</template>
|