My WorkspaceOrg main page, personal per-user project workspaces -- dashboard page, badges, CRUD + assign

This commit is contained in:
2026-07-12 21:54:03 -03:00
parent 52355428c4
commit 5728cf37b2
14 changed files with 638 additions and 67 deletions

View File

@@ -0,0 +1,14 @@
<?php
// [Workspace] badge before a project title (dashboard overview, My projects tab, Projects list).
// Hidden for projects in Default. Reflects the CURRENT user's personal workspace assignment.
if (empty($project['id'])) {
return;
}
$workspace = $this->WorkspaceOrgHelper->badge($project['id']);
if ($workspace === '') {
return;
}
?>
<span class="wso-badge" title="<?= $this->text->e(t('Workspace')) ?>">[<?= $this->text->e($workspace) ?>]</span>