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

(-)app.js (-2 / +13 lines)
 Lines 348-360    Link Here 
348
			});
348
			});
349
			this._tabContainer.addChild(overviewPage);
349
			this._tabContainer.addChild(overviewPage);
350
350
351
			// check validity of SSL certificates
351
			// get needet UCR variables
352
			umc.tools.umcpCommand( 'get/ucr', [ 'ssl/validity/days', 'ssl/validity/warning' ] ).then( dojo.hitch( this, function( data ) {
352
			umc.tools.umcpCommand( 'get/ucr', [ 'ssl/validity/days', 'ssl/validity/warning', 'update/available', 'update/reboot/required' ] ).then( dojo.hitch( this, function( data ) {
353
				// check validity of SSL certificates
353
				var days = parseInt( data.result[ 'ssl/validity/days' ], 10 );
354
				var days = parseInt( data.result[ 'ssl/validity/days' ], 10 );
354
				var warning = parseInt( data.result[ 'ssl/validity/warning' ], 10 );
355
				var warning = parseInt( data.result[ 'ssl/validity/warning' ], 10 );
355
				if ( days <= warning ) {
356
				if ( days <= warning ) {
356
					overviewPage.addNote( this._( 'The SSL certificate will expire in %d days and should be renewed!', days ) );
357
					overviewPage.addNote( this._( 'The SSL certificate will expire in %d days and should be renewed!', days ) );
357
				}
358
				}
359
360
				// check if updates are available
361
				if ( umc.tools.isTrue(data.result['update/available']) ) {
362
					overviewPage.addNote( this._( 'An update for UCS is available. Please visit <a href="/univention-management-console/?flavor=updater">Online Update Module</a> of Univention Management Console to install updates.' ) );
363
				}
364
365
				// check if system reboot is required
366
				if ( umc.tools.isTrue(data.result['update/reboot/required']) ) {
367
					overviewPage.addNote( this._( 'This system has been updated recently. A reboot is required to finish update.' ) );
368
				}
358
			}));
369
			}));
359
370
360
			// add a CategoryPane for each category
371
			// add a CategoryPane for each category
(-)de.po (+7 lines)
 Lines 606-608    Link Here 
606
606
607
#~ msgid "unlimited"
607
#~ msgid "unlimited"
608
#~ msgstr "unbegrenzt"
608
#~ msgstr "unbegrenzt"
609
610
msgid "An update for UCS is available. Please visit <a href=\"/univention-management-console/?flavor=updater\">Online Update Module</a> to install updates."
611
msgstr "Ein Update für UCS ist verfügbar. Bitte öffnen Sie das <a href=\"/univention-management-console/?flavor=updater\">Online Update Modul</a> um das Update einzuspielen."
612
613
msgid "This system has been updated recently. A reboot is required to finish update."
614
msgstr "Dieses System wurde kürzlich aktualisiert. Ein Neustart des Systems ist erforderlich, um das Update abzuschließen."
615

Return to bug 24999