Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
v2.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
rijkvanzanten committed Nov 23, 2018
1 parent 61981cb commit e0fc48f
Show file tree
Hide file tree
Showing 71 changed files with 727 additions and 1,422 deletions.
9 changes: 2 additions & 7 deletions migrations/db/seeds/FieldsSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -1265,14 +1265,9 @@ public function run()
'collection' => 'directus_users',
'field' => 'locale',
'type' => \Directus\Database\Schema\DataTypes::TYPE_STRING,
'interface' => 'dropdown',
'interface' => 'language',
'options' => json_encode([
'choices' => [
'en-US' => 'English (US)',
'nl-NL' => 'Dutch (Nederlands)',
'de-DE' => 'German (Deutsche)'
],
'placeholder' => 'Choose a language...'
'limit' => true
]),
'locked' => 1,
'sort' => 12,
Expand Down
12 changes: 12 additions & 0 deletions migrations/upgrades/schemas/20181122195602_locale_interface.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php


use Phinx\Migration\AbstractMigration;

class LocaleInterface extends AbstractMigration
{
public function up()
{
$this->execute("UPDATE directus_fields SET interface='language', options='{\"limit\":true}' WHERE collection='directus_users' AND field='locale';");
}
}
8 changes: 4 additions & 4 deletions public/extensions/core/interfaces/code/input.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public/extensions/core/interfaces/file-preview/input.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public/extensions/core/interfaces/file-size/display.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e0fc48f

Please sign in to comment.