Sha256: 91f9875ae3a326bff1b238fc84649d03ca11e79738979cf894280e8cbdeca7a1
Contents?: true
Size: 1.66 KB
Versions: 25
Compression:
Stored size: 1.66 KB
Contents
<%= content_for :breadcrumbs do %> <%= home_breadcrumb %> <% end %> <h1><%= t :certificate %>: <%= @certificate.title %></h1> <div class="container"> <div class="row mu-certificate-data"> <div class="col-md-6"> <div class="row text-center bg-light p-4 rounded-3 mb-4"> <div class="col-md-12"> <h3 class="mu-certificate-name"> <%= t :completed_by %> <strong><%= @certificate.user.formal_full_name %></strong> </h3> <div><small><%= @certificate.created_at.to_date %></small></div> <span><%= t(:certificate_verified_legend, description: @certificate.description, full_name: @certificate.user.formal_full_name).html_safe %></span> </div> </div> <% if @certificate.for_user? current_user %> <div class="mu-certificate-buttons d-flex justify-content-evenly"> <a class="btn btn-complementary mu-certificate-download-btn mx-2" href="<%= download_certificate_path @certificate.code %>" target="_blank"> <%= fa_icon(:download, class: 'fa-fw fa-lg mu-certificate-download-btn-icon', text: t(:certificate)) %> </a> <a href="<%= linkedin_post_url @certificate %>" class="mx-2" target="_blank"> <img src="https://download.linkedin.com/desktop/add2profile/buttons/<%= t :linkedin_profile_button_locale %>.png" alt="LinkedIn Add to Profile button"> </a> </div> <% end %> </div> <div class="certificate-preview col-md-6"> <%= render partial: 'certificates/certificate', locals: { certificate: @certificate } %> </div> </div> </div> <%= content_for :profile do %> <%= home_breadcrumb %> <% end %>
Version data entries
25 entries across 25 versions & 1 rubygems