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

(-)umc/js/appcenter/AppCenterPage.js (-1 / +1 lines)
 Lines 589-595    Link Here 
589
			if (allows_using && can_install && master_packages && master_packages.length) {
589
			if (allows_using && can_install && master_packages && master_packages.length) {
590
				// prepare a command with max 50 characters length per line
590
				// prepare a command with max 50 characters length per line
591
				var MAXCHARS = 50;
591
				var MAXCHARS = 50;
592
				var cmdLine = lang.replace('univention-add-app {id} ', values);
592
				var cmdLine = lang.replace('univention-add-app {component_id} ', values);
593
				var cmdLines = [];
593
				var cmdLines = [];
594
				array.forEach(master_packages, function(icmd) {
594
				array.forEach(master_packages, function(icmd) {
595
					if (icmd.length + cmdLine.length > MAXCHARS) {
595
					if (icmd.length + cmdLine.length > MAXCHARS) {
(-)umc/python/appcenter/app_center.py (+1 lines)
 Lines 354-359    Link Here 
354
	def to_dict(self, package_manager):
354
	def to_dict(self, package_manager):
355
		ucr.load()
355
		ucr.load()
356
		res = copy.copy(self._options)
356
		res = copy.copy(self._options)
357
		res['component_id'] = self.component_id
357
		res['cannot_install_reason'], res['cannot_install_reason_detail'] = self.cannot_install_reason(package_manager)
358
		res['cannot_install_reason'], res['cannot_install_reason_detail'] = self.cannot_install_reason(package_manager)
358
		cannot_install_reason = res['cannot_install_reason']
359
		cannot_install_reason = res['cannot_install_reason']
359
360

Return to bug 29734