% content_for :head do %>
<%= stylesheet_link_tag "profile", media: "all", "data-turbolinks-track": "reload" %>
<% end %>
<%= @user.i18n_bio %>
<%= @user.full_name %>
<%=image_tag(@user.picture[0], id: "profile_image", alt: "")%>
<%= @user.i18n_tagline %>
<%= t("profile.description") %>
<%= t("profile.resume_lang") %>
<% @resume_languages.each do |resume| %>
TODO
<% end %> <%= image_tag(technology.logo, class: "technology_logo", alt: "") %> <%= technology.name %> <% prev_nature = technology.nature end %>
<% if !same_company %>
<%= experience.company %><% if experience.companyLogo.attached? %> <%= image_tag( experience.companyLogo, alt: experience.company ) %> <% end %> <% end %> |
<% if !same_company %> <%= image_tag("control/point.svg", alt: "") %> <% end %> |
<%
experience_date = "";
if (experience.end == nil)
experience_date = t(
"time.date_month_since",
year: experience.start.year,
month: t("time." + Date::MONTHNAMES[experience.start.month].downcase)
).humanize
else
experience_date =
t(
"time.date_month",
year: experience.start.year,
month: t("time." + Date::MONTHNAMES[experience.start.month].downcase)
).humanize +
" - " +
t(
"time.date_month",
year: experience.end.year,
month: t("time." + Date::MONTHNAMES[experience.end.month].downcase)
).humanize
end
%>
<%= experience.i18n_role %><%= experience_date %><%= experience.i18n_description.html_safe %> |