Add view type switch (#424)

* Manage view_type through collection preset composition

* Move view type translation

* Add layout drawer detail component

* Use different icon for tabular

* Render view as section in browse sidebar

* Fix sticky header in table

* Sort return statement values 🤓

* Use viewtype picker on users

* Use layout picker on files

* Default to tabular view when invalid is set

* Render view type dynamically based on setting
This commit is contained in:
Rijk van Zanten
2020-04-16 16:53:45 -04:00
committed by GitHub
parent ce9c374876
commit 28a4ad5ec6
10 changed files with 107 additions and 26 deletions

View File

@@ -222,6 +222,7 @@
"upload_file_indeterminate": "Uploading File | Uploading files {done}/{total}",
"upload_file_success": "File Uploaded | {count} Files Uploaded",
"upload_file_failed": "Couldn't Upload File | Couldn't Upload Files",
"view_type": "View As...",
"about_directus": "About Directus",
"activity_log": "Activity Log",
@@ -677,7 +678,6 @@
"values": "Values",
"version": "Version",
"version_and_updates": "Version and Updates",
"view_type": "View As...",
"visible_all_users": "Visible for all users",
"webhook_count": "No Webhooks | 1 Webhook | {count} Webhooks",
"weeks": {