added code differences from EE to CE
This commit is contained in:
parent
a18b7e7e2b
commit
fefe100874
2 changed files with 17 additions and 0 deletions
|
@ -39,6 +39,11 @@ export default class Project {
|
||||||
$label.text(activeText);
|
$label.text(activeText);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('#modal-geo-info').data({
|
||||||
|
cloneUrlSecondary: $this.attr('href'),
|
||||||
|
cloneUrlPrimary: $this.data('primaryUrl') || '',
|
||||||
|
});
|
||||||
|
|
||||||
if (mobileCloneField) {
|
if (mobileCloneField) {
|
||||||
mobileCloneField.dataset.clipboardText = url;
|
mobileCloneField.dataset.clipboardText = url;
|
||||||
} else {
|
} else {
|
||||||
|
@ -67,6 +72,13 @@ export default class Project {
|
||||||
.remove();
|
.remove();
|
||||||
return e.preventDefault();
|
return e.preventDefault();
|
||||||
});
|
});
|
||||||
|
$('.hide-shared-runner-limit-message').on('click', function(e) {
|
||||||
|
var $alert = $(this).parents('.shared-runner-quota-message');
|
||||||
|
var scope = $alert.data('scope');
|
||||||
|
Cookies.set('hide_shared_runner_quota_message', 'false', { path: scope });
|
||||||
|
$alert.remove();
|
||||||
|
e.preventDefault();
|
||||||
|
});
|
||||||
$('.hide-auto-devops-implicitly-enabled-banner').on('click', function(e) {
|
$('.hide-auto-devops-implicitly-enabled-banner').on('click', function(e) {
|
||||||
const projectId = $(this).data('project-id');
|
const projectId = $(this).data('project-id');
|
||||||
const cookieKey = `hide_auto_devops_implicitly_enabled_banner_${projectId}`;
|
const cookieKey = `hide_auto_devops_implicitly_enabled_banner_${projectId}`;
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
title: "Added code differnces from EE in file 'app/assets/javascripts/pages/projects/project.js' to CE"
|
||||||
|
merge_request: 29271
|
||||||
|
author: Michel Engelen
|
||||||
|
type: other
|
Loading…
Reference in a new issue