ThemeRevision icon indicating copy to clipboard operation
ThemeRevision copied to clipboard

Theme appears broken in kanboard v1.2.30 (latest release)

Open dangerstudios opened this issue 1 year ago • 3 comments

This theme breaks the UI in the latest kanboard release: https://github.com/kanboard/kanboard/releases/tag/v1.2.30

image image

dangerstudios avatar Jun 07 '23 10:06 dangerstudios

The problem exists since Kanboard V1.2.29 when the new theme support (dark, light, automatic) was added. So the last working version of Kanboard for this theme here is version 1.2.28. It would be very cool if the theme here is adapted accordingly, that it also works under the current version (1.2.30). Thanks for the work on this theme.

trebor2109 avatar Jun 10 '23 08:06 trebor2109

In 1.2.28 the visuals work but I cannot create new columns, swimlanes or rename existing ones. Clicking the save button has no effect.

Edit: just checked on KB 1.2.27 the above 2 points are working

xyttyxy avatar Jun 26 '23 01:06 xyttyxy

Quick fix:

In file: <work_dir>/plugins/ThemeRevision/Template/layout.php Replace line 17

<?= $this->asset->css('assets/css/app.min.css') ?>

To

<?php if (! isset($not_editable)): ?>
	<?= $this->asset->css('assets/css/'.$this->user->getTheme().'.min.css') ?>
<?php else: ?>
	<?= $this->asset->css('assets/css/light.min.css') ?>
<?php endif ?>

pittss avatar Aug 23 '23 09:08 pittss

+1 for this

mikhailnov avatar Aug 20 '24 10:08 mikhailnov

@greyaz was this updated in the code reop or do we have to apply the quickfix mentione above?

DangerDrome avatar Aug 21 '24 04:08 DangerDrome