* init * profile header * merge * two headers * centerd * link fix * remove comments * whoops * Fix specs Co-authored-by: rhymes <rhymes@hey.com>
34 lines
1.4 KiB
Text
34 lines
1.4 KiB
Text
<% if @user.employment_title.present? || (@user.looking_for_work_publicly == true && @user.looking_for_work == true) || @user.education.present? %>
|
|
<div class="profile-header__bottom fs-base">
|
|
<% if @user.education.present? %>
|
|
<div class="crayons-definition">
|
|
<strong class="crayons-definition__title">Education</strong>
|
|
<p class="crayons-definition__value"><%= @user.education %></p>
|
|
</div>
|
|
<% end %>
|
|
|
|
<% if @user.employment_title.present? %>
|
|
<div class="crayons-definition">
|
|
<strong class="crayons-definition__title">Work</strong>
|
|
<p class="crayons-definition__value">
|
|
<%= @user.employment_title %>
|
|
<% if @user.employer_name.present? %>
|
|
<span class="opacity-50"> at </span>
|
|
<% if @user.employer_url.present? %>
|
|
<a href="<%= @user.employer_url %>" class="crayons-link crayons-link--brand" target="_blank" rel="noopener"><%= @user.employer_name %></a>
|
|
<% else %>
|
|
<%= @user.employer_name %>
|
|
<% end %>
|
|
<% end %>
|
|
</p>
|
|
</div>
|
|
<% end %>
|
|
|
|
<% if @user.looking_for_work_publicly == true && @user.looking_for_work == true %>
|
|
<div class="crayons-definition">
|
|
<strong class="crayons-definition__title">Work status</strong>
|
|
<p class="crayons-definition__value">I'm looking for work!</p>
|
|
</div>
|
|
<% end %>
|
|
</div>
|
|
<% end %>
|