Nuevo plugin Additionals 2.0.20

This commit is contained in:
Manuel Cillero 2019-06-16 12:53:09 +02:00
parent a2a901b71b
commit 93e1e28683
354 changed files with 40514 additions and 0 deletions

View file

@ -0,0 +1,9 @@
- if show_issue_change_author?(issue) && issue.safe_attribute?('author_id')
- author_options = issue_author_options_for_select(issue.project, issue)
- if author_options.present?
p#change_author
= form.label_for_field :author_id
= link_to_function content_tag(:span, l(:button_edit), class: 'icon icon-edit'), '$(this).hide(); $("#issue_author_id").show()'
= form.select :author_id, author_options, { required: true, no_label: true }, style: 'display: none'
javascript:
$('#change_author').insertBefore($('#issue_tracker_id').parent());