When creating a new project, have the possibility to select another project to duplicate
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -55,6 +55,11 @@ nav .active a {
|
||||
color: #d40000;
|
||||
}
|
||||
|
||||
/* user links on the left */
|
||||
header .user-links .dropdown {
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
/* title tooltip */
|
||||
header h1 .tooltip {
|
||||
opacity: 0.3;
|
||||
|
||||
8
assets/css/src/project.css
Normal file
8
assets/css/src/project.css
Normal file
@@ -0,0 +1,8 @@
|
||||
.project-creation-options {
|
||||
max-width: 500px;
|
||||
border-left: 3px dotted #efefef;
|
||||
margin-top: 20px;
|
||||
padding-left: 15px;
|
||||
padding-bottom: 5px;
|
||||
padding-top: 5px;
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -15,4 +15,14 @@ Project.prototype.listen = function() {
|
||||
})
|
||||
});
|
||||
});
|
||||
|
||||
$('#project-creation-form #form-src_project_id').on('change', function() {
|
||||
var srcProjectId = $(this).val();
|
||||
|
||||
if (srcProjectId == 0) {
|
||||
$(".project-creation-options").hide();
|
||||
} else {
|
||||
$(".project-creation-options").show();
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user