app/views/admin/education/diplomas/static.html.erb
<%
diploma = @l10n.about
language = @l10n.language
@programs = @website.education_programs
.where(diploma: diploma)
.root
.published_now_in(language)
.ordered if @website.present?
%>---
<%= render 'admin/application/static/core', about: @l10n, skip_date: true %>
<%= render 'admin/application/static/breadcrumbs', about: @l10n %>
<%= render 'admin/application/static/design',
about: diploma,
l10n: @l10n,
full_width: true,
toc_offcanvas: true %>
<%= render 'admin/application/l10n/static', about: @l10n %>
<% if @programs %>
programs:
<%= render 'admin/education/programs/static_list',
diploma: diploma,
programs: @programs,
language: language %>
<% end %>
short_name: >-
<%= prepare_text_for_static @l10n.short_name %>
<%= render 'admin/application/summary/static', about: @l10n %>
level: >-
<%= diploma.level_i18n %>
ects: <%= diploma.ects %>
certification: <%= diploma.certification %>
duration: >-
<%= prepare_text_for_static @l10n.duration %>
<%= render 'admin/communication/contents/static', about: @l10n %>
---