diff -r c9c502117eb6 -r ff4b567d51f2 web/res/metadataplayer/Annotation.js
--- a/web/res/metadataplayer/Annotation.js Fri Feb 13 13:14:15 2015 +0100
+++ b/web/res/metadataplayer/Annotation.js Sun Feb 15 00:43:16 2015 +0100
@@ -41,9 +41,9 @@
+ '
{{l10n.excerpt_from}} '
+ '( - )
'
+ '{{l10n.creator_}}
'
- + '{{#show_creator}}
'
- + '{{l10n.description_}}
{{/show_creator}}'
- + '
'
+ + '{{#show_creator}}{{/show_creator}}'
+ + '{{#show_description}}{{l10n.description_}}
'
+ + '
{{/show_description}}'
+ '';
@@ -53,6 +53,7 @@
start_minimized: false,
show_arrow : true,
show_creator: true,
+ show_description: true,
arrow_position: .5,
site_name : "Lignes de Temps",
search_on_tag_click: true,
@@ -126,6 +127,7 @@
}
if (_this.show_annotation_type) {
_this.$.find(".Ldt-Annotation-Type").text(_annotation.getAnnotationType().title);
+ _this.$.find(".Ldt-Annotation-Type").attr("title", _annotation.getAnnotationType().description);
}
_this.$.find(".Ldt-Annotation-Begin").text(_annotation.begin.toString());
_this.$.find(".Ldt-Annotation-End").text(_annotation.end.toString());
@@ -230,4 +232,4 @@
IriSP.Widgets.Annotation.prototype.maximize = function() {
this.minimized = false;
this.$.find('.Ldt-Annotation-Inner').removeClass("Ldt-Annotation-Minimized");
-};
\ No newline at end of file
+};