看板初始化提交

This commit is contained in:
zephyr
2026-06-01 21:23:12 -07:00
commit 54a842f4ab
2104 changed files with 241695 additions and 0 deletions
@@ -0,0 +1,26 @@
<div class="dropdown custom-board-selector">
<a href="#" class="dropdown-menu dropdown-menu-link-icon board-selector-btn">
<i class="fa fa-folder-open fa-fw"></i> <?= t('Display another project') ?> <i class="fa fa-caret-down"></i>
</a>
<ul class="custom-board-selector-menu">
<?php if ($this->user->hasAccess('ProjectCreationController', 'create')): ?>
<li>
<?= $this->modal->medium('plus', t('New project'), 'ProjectCreationController', 'create') ?>
</li>
<?php endif ?>
<?php if ($this->app->config('disable_private_project', 0) == 0): ?>
<li>
<?= $this->modal->medium('lock', t('New personal project'), 'ProjectCreationController', 'createPrivate') ?>
</li>
<?php endif ?>
<?php if (!empty($board_selector)): ?>
<li><hr></li>
<?php foreach ($board_selector as $project_id => $project_name): ?>
<li>
<?= $this->url->link($this->text->e($project_name), 'BoardViewController', 'show', array('project_id' => $project_id)) ?>
</li>
<?php endforeach ?>
<?php endif ?>
</ul>
</div>