05/22 Implement license version
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user