Skip to content
Snippets Groups Projects
Commit fb3c1305 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

special pages [skip ci]

parent 996c6814
No related branches found
No related tags found
No related merge requests found
......@@ -23,11 +23,12 @@
<%= image_tag page.featured_image.representation(resize: '200x'), width: 100 %>
<% end %>
</td>
<td>
<td class="small">
<% if page.is_special_page? %>
<p class="mb-0"><%= t("communication.website.pages.defaults.#{page.type_key}.title") %></p>
<% end %>
<% if page.full_width %>
<span class="badge bg-light text-black">
<%= Communication::Website::Page.human_attribute_name('full_width') %>
</span>
<p class="mb-0"><%= Communication::Website::Page.human_attribute_name('full_width') %></p>
<% end %>
</td>
</tr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment