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

(-)a/ucs-4.0-1/management/univention-management-console-module-appcenter/umc/js/appcenter/AppInstallationsItem.js (-1 / +1 lines)
 Lines 142-148   define([ Link Here 
142
			}
142
			}
143
			if (this.webInterface) {
143
			if (this.webInterface) {
144
				var url = this.webInterface;
144
				var url = this.webInterface;
145
				if (this.webInterface[0] == '/' && !this.isLocal()) {
145
				if (/^(:\d+)?\//.test(url) && !this.isLocal()) {
146
					url = lang.replace('{protocol}//{host}{webInterface}', {
146
					url = lang.replace('{protocol}//{host}{webInterface}', {
147
						protocol: window.location.protocol,
147
						protocol: window.location.protocol,
148
						host: host,
148
						host: host,
(-)a/ucs-4.0-1/services/univention-apache/js/ucs/startsite.js (+3 lines)
 Lines 209-214   define([ Link Here 
209
			array.forEach(['link', 'icon', 'label', 'description'], lang.hitch(this, function(ikey) {
209
			array.forEach(['link', 'icon', 'label', 'description'], lang.hitch(this, function(ikey) {
210
				localizedProps[ikey] = this._localizeString(props[ikey]);
210
				localizedProps[ikey] = this._localizeString(props[ikey]);
211
			}));
211
			}));
212
			if (/^:\d+\//.test(localizedProps.link)) {
213
				localizedProps.link = window.location.protocol + '//' + window.location.hostname + localizedProps.link;
214
			}
212
			var node = domConstruct.toDom(lang.replace(
215
			var node = domConstruct.toDom(lang.replace(
213
				'<div class="umcGalleryWrapperItem col-xxs-12 col-xs-6 col-sm-6 col-md-4" id="{id}">\n'
216
				'<div class="umcGalleryWrapperItem col-xxs-12 col-xs-6 col-sm-6 col-md-4" id="{id}">\n'
214
				+ '	<a href="{link}">\n'
217
				+ '	<a href="{link}">\n'

Return to bug 35456