Commit 47ec712f authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch 'issue/10088' into 'master'

added code differences from EE to CE

Closes gitlab-ee#10088

See merge request gitlab-org/gitlab-ce!29271
parents a18b7e7e fefe1008
......@@ -39,6 +39,11 @@ export default class Project {
$label.text(activeText);
});
$('#modal-geo-info').data({
cloneUrlSecondary: $this.attr('href'),
cloneUrlPrimary: $this.data('primaryUrl') || '',
});
if (mobileCloneField) {
mobileCloneField.dataset.clipboardText = url;
} else {
......@@ -67,6 +72,13 @@ export default class Project {
.remove();
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) {
const projectId = $(this).data('project-id');
const cookieKey = `hide_auto_devops_implicitly_enabled_banner_${projectId}`;
......
---
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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment