New bootstrap-based layout #30

Merged
Roflin merged 79 commits from bootstrap into master 2023-03-14 19:11:25 +01:00
2 changed files with 4 additions and 2 deletions
Showing only changes of commit 310fe7c3d6 - Show all commits

View File

@ -132,6 +132,7 @@ class EditAlbum extends HTMLController
'id_tag' => $id_tag, 'id_tag' => $id_tag,
], true); ], true);
if ($num_assets > 0)
$this->page->adopt(new FeaturedThumbnailManager($assets, $id_tag ? $album->id_asset_thumb : 0)); $this->page->adopt(new FeaturedThumbnailManager($assets, $id_tag ? $album->id_asset_thumb : 0));
} }

View File

@ -123,6 +123,7 @@ class EditTag extends HTMLController
'id_tag' => $id_tag, 'id_tag' => $id_tag,
], true); ], true);
if ($num_assets > 0)
$this->page->adopt(new FeaturedThumbnailManager($assets, $id_tag ? $tag->id_asset_thumb : 0)); $this->page->adopt(new FeaturedThumbnailManager($assets, $id_tag ? $tag->id_asset_thumb : 0));
} }