Editor update - Hinting metadata values
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Tue, 25 Mar 2014 13:57:45 +0000 (14:57 +0100)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Tue, 12 Aug 2014 09:47:13 +0000 (11:47 +0200)
apps/wiki/static/wiki/editor
apps/wiki/templates/wiki/bootstrap.html

index cc4f5cb..ce1cadf 160000 (submodule)
@@ -1 +1 @@
-Subproject commit cc4f5cb5ab7df9decf14fbbcbe2736a9d76ef294
+Subproject commit ce1cadf0f7da03cb03d2ca728c92cfc9ea8c6517
index 9abc4ee..1de04a4 100644 (file)
                         }
                     }
                 },
+              
+                metadata: [
+                    {key: 'creator.expert'},
+                    {key: 'creator.scenario'},
+                    {key: 'creator.textbook'},
+                    {key: 'title'},
+                    {key: 'relation.isPartOf'},
+                    {key: 'publisher'},
+                    {key: 'subject.competence'},
+                    {key: 'subject.curriculum'},
+                    {key: 'subject'},
+                    {key: 'description'},
+                    {key: 'description.material'},
+                    {key: 'identifier.url'},
+                    {key: 'rights'},
+                    {key: 'rights.license'},
+                    {key: 'format'},
+                    {key: 'type'},
+                    {key: 'date'},
+                    {key: 'audience'}
 
-                metadataKeys: [
-                    'creator.expert',
-                    'creator.scenario',
-                    'creator.textbook',
-                    'title',
-                    'relation.isPartOf',
-                    'publisher',
-                    'subject.competence',
-                    'subject.curriculum',
-                    'subject',
-                    'description',
-                    'description.material',
-                    'identifier.url',
-                    'rights',
-                    'rights.license',
-                    'format',
-                    'type',
-                    'date',
-                    'audience'
                 ],
 
                 documentSummaryView: {