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

Fix #1429

parent d763c89a
No related branches found
No related tags found
No related merge requests found
......@@ -19,9 +19,7 @@
<% end %>
</td>
<td>
<% if page.featured_image.attached? %>
<%= kamifusen_tag page.featured_image, width: 100 %>
<% end %>
<%= kamifusen_tag page.featured_image, width: 100 if page.featured_image.attached? %>
</td>
<td class="small">
<% if page.is_special_page? %>
......
......@@ -3,7 +3,7 @@ action = ''
if !current_user.program_manager? || current_user.programs_to_manage.pluck(:education_program_id).include?(@program.id)
action += link_to t('education.manage_roles'),
admin_education_program_roles_path(program_id: @program.id),
class: button_classes if can?(:update, University::Role)
class: 'action' if can?(:update, University::Role)
end
%>
<%= osuny_panel Education::Program.human_attribute_name('roles'), action: action, classes: 'mt-5' do %>
......
......@@ -3,7 +3,7 @@ action = ''
if !current_user.program_manager? || current_user.programs_to_manage.pluck(:education_program_id).include?(@program.id)
action += link_to t('education.manage_teachers'),
admin_education_program_teachers_path(program_id: @program.id),
class: button_classes if can?(:update, University::Person::Involvement)
class: 'action' if can?(:update, University::Person::Involvement)
end
%>
<%= osuny_panel Education::Program.human_attribute_name('teachers'), action: action, classes: 'mt-5' do %>
......
......@@ -109,6 +109,7 @@ en:
description: Presentation of the students who have studied in the various courses.
manage_programs: Manage programs
manage_roles: Manage roles
manage_teachers: Manage teachers
number_of_programs: Number of programs
program:
parts:
......
......@@ -109,6 +109,7 @@ fr:
description: Présentation des étudiants et étudiantes ayant étudié dans les différentes formations
manage_programs: Gérer les formations
manage_roles: Gérer les rôles
manage_teachers: Gérer les enseignements
number_of_programs: Nombre de formations
program:
parts:
......
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