mirror of
https://github.com/itflow-org/itflow
synced 2026-12-05 18:49:01 +00:00
Switched-off modules leave ITFlow completely: one map of each module's pages, windows, portal and guest pages (modulePaths) turned away by moduleRequestGuard with a refusal in the right shape, the API refusing resources and tag and category kinds of a module that is off, and every other page leaving out its tabs, New items, links, dashboard tiles, search groups, calendar layers, kinds, email previews, From addresses, settings sections and cron jobs; the nightly run skips the work of a module that is off, shared links don't open with IT documentation off, hidden settings keep their values, start pages fall back to the dashboard; 26.12.6 changelog and CONTRIBUTING rule
This commit is contained in:
@@ -161,7 +161,9 @@ $portal_contact_name = (string) ($contact['contact_name'] ?? '');
|
||||
</div>
|
||||
</form>
|
||||
<a class="btn btn-outline-secondary d-none d-xl-inline-flex d-xxl-none" href="/client/search.php" title="Search" aria-label="Search"><i class="fas fa-search"></i></a>
|
||||
<a class="btn btn-primary d-none d-sm-inline-flex align-items-center text-nowrap" href="/client/ticket_add.php"><i class="fas fa-plus me-2"></i>New Ticket</a>
|
||||
<?php if (isset($portal_nav['tickets'])) { ?>
|
||||
<a class="btn btn-primary d-none d-sm-inline-flex align-items-center text-nowrap" href="/client/ticket_add.php"><i class="fas fa-plus me-2"></i>New Ticket</a>
|
||||
<?php } ?>
|
||||
|
||||
<div class="dropdown">
|
||||
<button type="button" class="itflow-portal-account" data-bs-toggle="dropdown" aria-expanded="false" aria-label="Your account">
|
||||
@@ -198,8 +200,10 @@ $portal_contact_name = (string) ($contact['contact_name'] ?? '');
|
||||
reaches them, and everything else in a menu that slides in. */ ?>
|
||||
<nav class="itflow-portal-tabbar d-lg-none" aria-label="Portal">
|
||||
<a href="/client/index.php" class="<?= $portal_page === 'index.php' ? 'active' : '' ?>"><i class="fas fa-home"></i><span>Home</span></a>
|
||||
<a href="/client/tickets.php" class="<?= in_array($portal_page, $portal_nav['tickets']['pages'], true) && $portal_page !== 'ticket_add.php' ? 'active' : '' ?>"><i class="fas fa-life-ring"></i><span>Tickets</span></a>
|
||||
<a href="/client/ticket_add.php" class="itflow-portal-tabbar-new<?= $portal_page === 'ticket_add.php' ? ' active' : '' ?>"><i class="fas fa-plus"></i><span>New</span></a>
|
||||
<?php if (isset($portal_nav['tickets'])) { ?>
|
||||
<a href="/client/tickets.php" class="<?= in_array($portal_page, $portal_nav['tickets']['pages'], true) && $portal_page !== 'ticket_add.php' ? 'active' : '' ?>"><i class="fas fa-life-ring"></i><span>Tickets</span></a>
|
||||
<a href="/client/ticket_add.php" class="itflow-portal-tabbar-new<?= $portal_page === 'ticket_add.php' ? ' active' : '' ?>"><i class="fas fa-plus"></i><span>New</span></a>
|
||||
<?php } ?>
|
||||
<?php if (isset($portal_nav['billing'])) { ?>
|
||||
<a href="/client/invoices.php" class="<?= in_array($portal_page, $portal_nav['billing']['pages'], true) ? 'active' : '' ?>"><i class="fas fa-file-invoice-dollar"></i><span>Billing</span></a>
|
||||
<?php } ?>
|
||||
|
||||
Reference in New Issue
Block a user