View | Details | Raw Unified | Return to bug 25797
Collapse All | Expand All

(-)umc/js/_udm/DetailPage.js (-1 / +14 lines)
Lines 137-142 Link Here
137
137
138
	_multiEdit: false,
138
	_multiEdit: false,
139
139
140
	_flavorToString : {
141
		'users/user' : 'user',
142
		'groups/group' : 'group',
143
		'networks/network' : 'network object',
144
		'dns/dns' : 'dns',
145
		'dhcp/dhcp' : 'dhcp',
146
		'shares/share' : 'share',
147
		'shares/print' : 'printer',
148
		'mail/mail' : 'mail object',
149
		'nagios/nagios' : 'nagios',
150
		'policies/policy' : 'policy',
151
	}
152
140
	postMixInProperties: function() {
153
	postMixInProperties: function() {
141
		this.inherited(arguments);
154
		this.inherited(arguments);
142
155
Lines 595-601 Link Here
595
		// buttons
608
		// buttons
596
		var buttons = umc.render.buttons([{
609
		var buttons = umc.render.buttons([{
597
			name: 'submit',
610
			name: 'submit',
598
			label: this._('Save changes'),
611
			label: this._( 'create %s', 'this._( this._flavorToString[ this.moduleFlavor ] ),
599
			style: 'float: right'
612
			style: 'float: right'
600
		}, {
613
		}, {
601
			name: 'close',
614
			name: 'close',

Return to bug 25797