From 7a8dbdfbd25f390370d060e78701e491d54c8d62 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Tue, 25 Mar 2014 14:57:45 +0100 Subject: [PATCH] Editor update - Hinting metadata values --- apps/wiki/static/wiki/editor | 2 +- apps/wiki/templates/wiki/bootstrap.html | 39 +++++++++++++------------ 2 files changed, 21 insertions(+), 20 deletions(-) diff --git a/apps/wiki/static/wiki/editor b/apps/wiki/static/wiki/editor index cc4f5cb5..ce1cadf0 160000 --- a/apps/wiki/static/wiki/editor +++ b/apps/wiki/static/wiki/editor @@ -1 +1 @@ -Subproject commit cc4f5cb5ab7df9decf14fbbcbe2736a9d76ef294 +Subproject commit ce1cadf0f7da03cb03d2ca728c92cfc9ea8c6517 diff --git a/apps/wiki/templates/wiki/bootstrap.html b/apps/wiki/templates/wiki/bootstrap.html index 9abc4ee7..1de04a4c 100644 --- a/apps/wiki/templates/wiki/bootstrap.html +++ b/apps/wiki/templates/wiki/bootstrap.html @@ -64,26 +64,27 @@ } } }, + + 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: { -- 2.20.1