stable
Clone or download
Read-only
This is part of story #9083: trigger webhooks on git push Introduce a button to create a Jenkins webhook and a link in the table to edit the webhook. Both open a modal. If a Jenkins webhook is already configured, then the button is disabled and a tooltip is displayed on hover. Please note that the button will be moved on the header line later (see mockups). Technical note: Bootstrap does not display tooltips on a disabled button, that is why there is a wrapper around it. Next steps (not in that order): - display list of triggerd logs in a modal - delete jenkins - display number of triggered jobs in additional column - start work on generic hooks Change-Id: I5e2c03ba9e05e324ef49bc77d31c87f46f4dec27
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/hudson_git/include/HudsonGit/Hook/HookController.php | +19 | −4 | Go to diff View file |
M | plugins/hudson_git/include/HudsonGit/Hook/HookPresenter.php | +20 | −4 | Go to diff View file |
A | plugins/hudson_git/include/HudsonGit/Hook/ModalCreatePresenter.php | +33 | −0 | Go to diff View file |
A | plugins/hudson_git/include/HudsonGit/Hook/ModalEditPresenter.php | +33 | −0 | Go to diff View file |
M | plugins/hudson_git/include/autoload.php | +4 | −2 | Go to diff View file |
M | plugins/hudson_git/include/hudson_gitPlugin.class.php | +16 | −4 | Go to diff View file |
M | plugins/hudson_git/site-content/en_US/hudson_git.tab | +9 | −2 | Go to diff View file |
M | plugins/hudson_git/site-content/fr_FR/hudson_git.tab | +9 | −2 | Go to diff View file |
M | plugins/hudson_git/templates/hook.mustache | +54 | −11 | Go to diff View file |
A | plugins/hudson_git/templates/modal-jenkins.mustache | +22 | −0 | Go to diff View file |
A | plugins/hudson_git/www/scripts/hudson_git.js | +24 | −0 | Go to diff View file |
M | plugins/hudson_git/www/themes/FlamingParrot/css/style.scss | +6 | −0 | Go to diff View file |
M | plugins/hudson_git/www/themes/default/css/style.scss | +33 | −1 | Go to diff View file |