-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add copy button to "Task Templates" page #297
Conversation
if the user clicks the copy button, semaphore opens the adding modal with the filled same content (Playbook Alias, Playbook Name, SSH Key, Inventory, Playbook Repository, Environment and Extra CLI Arguments)
there is no criteria that separate between pages. if apply css to the specific page, use this class
@@ -126,6 +126,30 @@ define(['controllers/projects/taskRunner'], function () { | |||
}) | |||
} | |||
|
|||
$scope.copy = function (template) { | |||
var tpl = angular.copy(template); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please reformat to the file (can see indentation differences here) :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh... I'm sorry and thank you for your review. I correct to reformat :)
My ide default setting about tab was different with the source file. I changed it now
Fix #259