diff --git a/apps/documenteditor/main/app/view/FileMenuPanels.js b/apps/documenteditor/main/app/view/FileMenuPanels.js
index eb317991a..d1833d4df 100644
--- a/apps/documenteditor/main/app/view/FileMenuPanels.js
+++ b/apps/documenteditor/main/app/view/FileMenuPanels.js
@@ -900,8 +900,9 @@ define([
if (appname) {
appname = (appname.asc_getApplication() || '') + ' ' + (appname.asc_getAppVersion() || '');
this.lblApplication.text(appname);
- this._ShowHideInfoItem(this.lblApplication, !!appname);
}
+ this._ShowHideInfoItem(this.lblApplication, !!appname);
+
var props = (this.api) ? this.api.asc_getCoreProps() : null;
if (props) {
var value = props.asc_getCreated();
diff --git a/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js b/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js
index 65731d5a8..07bd8f72b 100644
--- a/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js
+++ b/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js
@@ -1050,26 +1050,61 @@ define([
this.template = _.template([
'
',
'',
- ' | ',
- ' | ',
- '
',
- '',
- ' | ',
- '- | ',
- '
',
- '',
' | ',
' | ',
'
',
- '',
- ' | ',
- ' | ',
+ '
',
+ ' | ',
+ ' | ',
'
',
- '',
+ '
',
+ ' | ',
+ ' | ',
+ '
',
+ '
',
+ '
',
+ '',
+ ' | ',
+ ' | ',
+ '
',
+ '',
+ ' | ',
+ ' | ',
+ '
',
+ '',
+ ' | ',
+ ' | ',
+ '
',
+ '
',
+ '
',
+ '',
+ ' | ',
+ ' | ',
+ '
',
+ '',
+ ' | ',
+ ' | ',
+ '
',
+ '',
+ '
',
+ '
',
' | ',
- ' | ',
+ ' | ',
+ '
',
+ '',
+ ' | ',
+ ' | ',
+ '
',
+ '',
+ ' | ',
+ ' | ',
'
',
- '
',
'
'
].join(''));
@@ -1079,11 +1114,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 = '