mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Collection display template (#487)
* Add translation strings for adding/editing item * Add display_template to collection type * Dont use functional for skeleton loader * Make title optional and add title slot * Make title prop optional in private view * Render -- for null values in render template * Render display template in header bar * Render null values in template as subdued -- * Render status dot aligned in the middle * Fetch latest collections on settings save
This commit is contained in:
@@ -13,6 +13,7 @@ export interface CollectionRaw {
|
||||
managed: boolean;
|
||||
icon: string | null;
|
||||
translation: Translation[] | null;
|
||||
display_template: string | null;
|
||||
}
|
||||
|
||||
export interface Collection extends CollectionRaw {
|
||||
|
||||
Reference in New Issue
Block a user