Añade el plugin Redmine Git Server 0.4

This commit is contained in:
Manuel Cillero 2021-05-14 16:45:54 +02:00
parent 525527a55b
commit 4b46a7472e
30 changed files with 485 additions and 0 deletions

View file

@ -0,0 +1,15 @@
$(() => {
$('body.controller-repositories.action-show code.clone-input-group input').click(function() {
$(this).select()
})
$('body.controller-repositories.action-show code.clone-input-group button').click(function() {
const $this = $(this)
$this.siblings('input').click()
document.execCommand("copy")
const $flash = $this.parent().siblings('.flash.notice')
$flash.show()
setTimeout(function() {
$flash.hide("fast")
}, 1000)
})
})