05/22 Implement license version

This commit is contained in:
2026-05-22 16:31:19 -04:00
parent e6657e60cf
commit 687216e332
16 changed files with 1373 additions and 37 deletions
+5 -3
View File
@@ -828,7 +828,8 @@ function buildCommentEl(c) {
</div>
</div>
<!-- Watch / Unwatch -->
<!-- Watch / Unwatch (Business+ license required) -->
{% if license.tier in ('business', 'enterprise') %}
<div class="card mb-3">
<div class="card-body py-2 px-3 d-flex align-items-center justify-content-between">
<span style="font-size:13px;color:var(--muted);">
@@ -843,9 +844,10 @@ function buildCommentEl(c) {
</button>
</div>
</div>
{% endif %}
<!-- Time Tracking (IT staff only) -->
{% if current_user.is_it_staff %}
<!-- Time Tracking (IT staff only, Business+ license required) -->
{% if current_user.is_it_staff and license.tier in ('business', 'enterprise') %}
<div class="card mb-3">
<div class="card-header d-flex align-items-center justify-content-between">
<span><i class="bi bi-clock me-2"></i>Time Logged</span>