Revision 1407:00a51e442fe9 plugins/redmine_bibliography/app/views/publications
| plugins/redmine_bibliography/app/views/publications/_authorship_fields.html.erb | ||
|---|---|---|
| 6 | 6 |
<p><%= f.text_field :email -%></p> |
| 7 | 7 |
|
| 8 | 8 |
<p class="author_associated search_author_tie"> |
| 9 |
<%= f.check_box :search_author_tie -%> |
|
| 10 |
<span class="author_associated_name"></span>
|
|
| 9 |
<%= f.check_box :search_author_tie, :label => '' -%>
|
|
| 10 |
<span>Not associated with any SoundSoftware site user.</span>
|
|
| 11 | 11 |
</p> |
| 12 | 12 |
|
| 13 | 13 |
<%= f.hidden_field :search_author_class -%> |
| plugins/redmine_bibliography/app/views/publications/autocomplete_for_author.html.erb | ||
|---|---|---|
| 6 | 6 |
'search_author_id' => result.id, |
| 7 | 7 |
'name' => result.name, |
| 8 | 8 |
'institution' => result.institution, |
| 9 |
'email' => result.mail |
|
| 9 |
'email' => result.mail, |
|
| 10 |
'authorship_link' => " Keep associated with #{render_authorship_link(result.class.name, result.id)}"
|
|
| 10 | 11 |
} |
| 11 | 12 |
}.to_json %> |
Also available in: Unified diff