Skip to content

Commit d15a964

Browse files
committed
force programs and diplomas index
1 parent 227a0ee commit d15a964

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

app/views/admin/communication/websites/pages/static.html.erb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@ title: >
33
<%= @about.title %>
44
breadcrumb_title: "<%= @about.breadcrumb_title.blank? ? @about.title : @about.breadcrumb_title %>"
55
<%= render 'admin/application/static/permalink' %>
6+
<%
7+
case @about.kind
8+
when 'education_programs', 'education_diplomas' %>
9+
<%= render 'admin/application/static/design', full_width: true, toc_offcanvas: true %>
10+
<% else %>
611
<%= render 'admin/application/static/design' %>
12+
<% end %>
713
<% if @about.kind_persons? %>
814
has:
915
administrators: <%= @website.has_administrators? %>

0 commit comments

Comments
 (0)