Skip to content
Snippets Groups Projects
Commit 4eece739 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

clean

parent d48469ed
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,7 @@ class University::Person::Alumnus::Import < ApplicationRecord
person.slug = person.to_s.parameterize.dasherize
person.twitter ||= row['social_twitter']
person.linkedin ||= row['social_linkedin']
person.biography ||= row['biography']
person.biography ||= clean_encoding row['biography']
person.phone ||= row['mobile']
person.phone ||= row['phone_personal']
person.phone ||= row['phone_professional']
......
......@@ -4,14 +4,12 @@
<thead>
<tr>
<th><%= University::Person::Alumnus::Import.human_attribute_name('name') %></th>
<th><%= University::Person::Alumnus::Import.human_attribute_name('lines') %></th>
</tr>
</thead>
<tbody>
<% @imports.each do |import| %>
<tr>
<td><%= link_to import, [:admin, import] %></td>
<td><%= import.lines %></td>
</tr>
<% end %>
</tbody>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment