Merge branch 'develop' of github.com:tainacan/tainacan-theme into develop

This commit is contained in:
Fabiano 2018-07-16 15:46:12 -03:00
commit b18f55f80b
1 changed files with 12 additions and 12 deletions

View File

@ -56,61 +56,61 @@ if(!function_exists('tainacan_setup')) {
if (function_exists('tainacan_register_view_mode')) { if (function_exists('tainacan_register_view_mode')) {
tainacan_register_view_mode('grid', [ tainacan_register_view_mode('grid', [
'label' => 'Grid view', 'label' => 'Thumbnail',
'description' => 'A grid view', 'description' => 'A thumbnail grid view, showing only title and thumbnail',
'icon' => '<span class="icon"><i class="mdi mdi-view-grid mdi-24px"></i></span>', 'icon' => '<span class="icon"><i class="mdi mdi-apps mdi-24px"></i></span>',
'dynamic_metadata' => false, 'dynamic_metadata' => false,
]); ]);
tainacan_register_view_mode('mosaic', [ tainacan_register_view_mode('mosaic', [
'label' => 'Mosaic view', 'label' => 'Mosaic',
'description' => 'A mosaic view', 'description' => 'A mosaic view',
'icon' => '<span class="icon"><i class="mdi mdi-view-quilt mdi-24px"></i></span>', 'icon' => '<span class="icon"><i class="mdi mdi-view-quilt mdi-24px"></i></span>',
'dynamic_metadata' => false, 'dynamic_metadata' => false,
]); ]);
tainacan_register_view_mode('frame', [ tainacan_register_view_mode('frame', [
'label' => 'Frame view', 'label' => 'Frame',
'description' => 'A frame view, made for gallery expositions', 'description' => 'A frame view, made for gallery expositions',
'icon' => '<span class="icon"><i class="mdi mdi-checkbox-intermediate mdi-24px"></i></span>', 'icon' => '<span class="icon"><i class="mdi mdi-checkbox-intermediate mdi-24px"></i></span>',
'dynamic_metadata' => false, 'dynamic_metadata' => false,
]); ]);
tainacan_register_view_mode('gallery', [ tainacan_register_view_mode('gallery', [
'label' => 'Gallery view', 'label' => 'Gallery',
'description' => 'A framed view with metadata, made for gallery expositions', 'description' => 'A framed view with metadata, made for gallery expositions',
'icon' => '<span class="icon"><i class="mdi mdi-bank mdi-24px"></i></span>', 'icon' => '<span class="icon"><i class="mdi mdi-bank mdi-24px"></i></span>',
'dynamic_metadata' => true, 'dynamic_metadata' => true,
]); ]);
tainacan_register_view_mode('masonry', [ tainacan_register_view_mode('masonry', [
'label' => 'Masonry view', 'label' => 'Masonry',
'description' => 'A masonry view', 'description' => 'A masonry view',
'icon' => '<span class="icon"><i class="mdi mdi-view-dashboard mdi-24px"></i></span>', 'icon' => '<span class="icon"><i class="mdi mdi-view-dashboard mdi-24px"></i></span>',
'dynamic_metadata' => false, 'dynamic_metadata' => false,
]); ]);
tainacan_register_view_mode('books', [ tainacan_register_view_mode('books', [
'label' => 'Books view', 'label' => 'Books',
'description' => 'A books view, made for library visualizations', 'description' => 'A books view, made for library visualizations',
'icon' => '<span class="icon"><i class="mdi mdi-library-books mdi-24px"></i></span>', 'icon' => '<span class="icon"><i class="mdi mdi-library-books mdi-24px"></i></span>',
'dynamic_metadata' => false, 'dynamic_metadata' => false,
]); ]);
tainacan_register_view_mode('polaroid', [ tainacan_register_view_mode('polaroid', [
'label' => 'Polaroid view', 'label' => 'Polaroid',
'description' => 'A framed picture view, similar to polaroid photographs', 'description' => 'A framed picture view, similar to polaroid photographs',
'icon' => '<span class="icon"><i class="mdi mdi-polaroid mdi-24px"></i></span>', 'icon' => '<span class="icon"><i class="mdi mdi-polaroid mdi-24px"></i></span>',
'dynamic_metadata' => true, 'dynamic_metadata' => true,
]); ]);
tainacan_register_view_mode('profile', [ tainacan_register_view_mode('profile', [
'label' => 'Profile view', 'label' => 'Profile',
'description' => 'A profile view, for displaying persons information', 'description' => 'A profile view, for displaying persons information',
'icon' => '<span class="icon"><i class="mdi mdi-account-card-details mdi-24px"></i></span>', 'icon' => '<span class="icon"><i class="mdi mdi-account-card-details mdi-24px"></i></span>',
'dynamic_metadata' => true, 'dynamic_metadata' => true,
]); ]);
tainacan_register_view_mode('document', [ tainacan_register_view_mode('document', [
'label' => 'Document view', 'label' => 'Document',
'description' => 'A document view, for displaying papers and published research', 'description' => 'A document view, for displaying papers and published research',
'icon' => '<span class="icon"><i class="mdi mdi-file-document mdi-24px"></i></span>', 'icon' => '<span class="icon"><i class="mdi mdi-file-document mdi-24px"></i></span>',
'dynamic_metadata' => true, 'dynamic_metadata' => true,
]); ]);
tainacan_register_view_mode('albums', [ tainacan_register_view_mode('albums', [
'label' => 'Albums view', 'label' => 'Albums',
'description' => 'A musical albums view', 'description' => 'A musical albums view',
'icon' => '<span class="icon"><i class="mdi mdi-album mdi-24px"></i></span>', 'icon' => '<span class="icon"><i class="mdi mdi-album mdi-24px"></i></span>',
'dynamic_metadata' => false, 'dynamic_metadata' => false,