|
23 | 23 | observe |
24 | 24 | ].compact) |
25 | 25 | %> |
26 | | -<h1><%= @name.name_html %></h1> |
| 26 | +<h1> |
| 27 | + <%= @name.name_html %> |
| 28 | +</h1> |
| 29 | + |
27 | 30 | <% unless @name.public? %> |
28 | | - <span class="text-muted"> |
29 | | - <%= fa_icon('eye-slash') %> Only visible to you and curators |
| 31 | + <div class="text-muted"> |
| 32 | + <%= fa_icon('eye-slash', class: 'mr-1') %> |
| 33 | + Only visible to you and curators |
30 | 34 | <%= help_message('Name not public') do %> |
31 | 35 | <div class="alert alert-warning"> |
32 | 36 | This name is undergoing the registration process, currently in the |
|
45 | 49 | » Learn more about data release |
46 | 50 | <% end %> |
47 | 51 | <% end %> |
48 | | - </span> |
| 52 | + </div> |
| 53 | +<% end %> |
| 54 | + |
| 55 | +<% if @name.validated? && !@name.correct? %> |
| 56 | + <div class="text-muted"> |
| 57 | + <%= fa_icon('times-circle', class: 'mr-1') %> |
| 58 | + Marked as incorrect name |
| 59 | + <%= help_message('Incorrect name') do %> |
| 60 | + <% if @name.illegitimate? %> |
| 61 | + This name has been marked as illegitimate, likely due to priority |
| 62 | + conflicts in its lineage. |
| 63 | + <% elsif @name.correct_name.present? %> |
| 64 | + This name has been marked as incorrect, with the correct name for this |
| 65 | + taxon being <%= display_link(@name.correct_name) %>. |
| 66 | + <% elsif @name.type_name_alt_placement.present? %> |
| 67 | + This name refers to a taxon that does not contain its nomenclatural |
| 68 | + type. If that taxonomic placement is correct, this name should be |
| 69 | + considered a synonym of |
| 70 | + <%= display_link(@name.type_name_alt_placement) %>. |
| 71 | + <% else %> |
| 72 | + This name has been marked as incorrect, but no further information is |
| 73 | + recorded. Please explore the name's page for additional information. |
| 74 | + <% end %> |
| 75 | + If you consider this to be a mistake, please |
| 76 | + <%= link_to('contact us', page_connect_url) %> to revise this assessment. |
| 77 | + <% end %> |
| 78 | + </div> |
49 | 79 | <% end %> |
50 | 80 | <hr/> |
51 | 81 |
|
0 commit comments