diff --git a/apps/documenteditor/main/app/view/FileMenuPanels.js b/apps/documenteditor/main/app/view/FileMenuPanels.js
index d1833d4df..d671c1583 100644
--- a/apps/documenteditor/main/app/view/FileMenuPanels.js
+++ b/apps/documenteditor/main/app/view/FileMenuPanels.js
@@ -1034,7 +1034,7 @@ define([
},
onDocumentName: function(name) {
- this.lblTitle.text((name) ? name : '-');
+ // this.lblTitle.text((name) ? name : '-');
},
txtPlacement: 'Location',
diff --git a/apps/presentationeditor/main/app/view/FileMenuPanels.js b/apps/presentationeditor/main/app/view/FileMenuPanels.js
index 3a7d31bd7..808f55dae 100644
--- a/apps/presentationeditor/main/app/view/FileMenuPanels.js
+++ b/apps/presentationeditor/main/app/view/FileMenuPanels.js
@@ -595,26 +595,65 @@ define([
this.template = _.template([
'
',
'',
- ' | ',
- ' | ',
- '
',
- '',
- ' | ',
- '- | ',
- '
',
- '',
' | ',
' | ',
'
',
- '',
+ '
',
+ ' | ',
+ ' | ',
+ '
',
+ '',
+ ' | ',
+ ' | ',
+ '
',
+ '
',
+ '
',
+ // '',
+ // ' | ',
+ // ' | ',
+ // '
',
+ '',
+ ' | ',
+ ' | ',
+ '
',
+ '',
+ ' | ',
+ ' | ',
+ '
',
+ '',
+ ' | ',
+ ' | ',
+ '
',
+ '
',
+ '
',
+ '',
+ ' | ',
+ ' | ',
+ '
',
+ '',
+ ' | ',
+ ' | ',
+ '
',
+ '',
+ '
',
+ '
',
+ ' | ',
+ ' | ',
+ '
',
+ '',
' | ',
- ' | ',
+ ' | ',
'
',
- '',
- ' | ',
- ' | ',
+ '
',
+ ' | ',
+ ' | ',
'
',
- '
',
'
'
].join(''));
@@ -624,11 +663,79 @@ define([
render: function() {
$(this.el).html(this.template());
- this.lblTitle = $('#id-info-title');
+ var me = this;
+
+ // server info
this.lblPlacement = $('#id-info-placement');
+ this.lblOwner = $('#id-info-owner');
+ this.lblUploaded = $('#id-info-uploaded');
+
+ // edited info
+ this.inputTitle = new Common.UI.InputField({
+ el : $('#id-info-title'),
+ style : 'width: 200px;',
+ placeHolder : this.txtAddText,
+ validateOnBlur: false
+ }).on('changed:after', function() {
+ // me.api && me.api.asc_setDocumentTitle(me.inputTitle.getValue());
+ });
+ this.inputSubject = new Common.UI.InputField({
+ el : $('#id-info-subject'),
+ style : 'width: 200px;',
+ placeHolder : this.txtAddText,
+ validateOnBlur: false
+ }).on('changed:after', function() {
+ // me.api && me.api.asc_setDocumentSubject(me.inputSubject.getValue());
+ });
+ this.inputComment = new Common.UI.InputField({
+ el : $('#id-info-comment'),
+ style : 'width: 200px;',
+ placeHolder : this.txtAddText,
+ validateOnBlur: false
+ }).on('changed:after', function() {
+ // me.api && me.api.asc_setDocumentComment(me.inputComment.getValue());
+ });
+
+ // modify info
+ this.lblModifyDate = $('#id-info-modify-date');
+ this.lblModifyBy = $('#id-info-modify-by');
+
+ // creation info
this.lblDate = $('#id-info-date');
- this.lblAuthor = $('#id-info-author');
this.lblApplication = $('#id-info-appname');
+ this.tblAuthor = $('#id-info-author table');
+ this.trAuthor = $('#id-info-add-author').closest('tr');
+ this.authorTpl = '