diff --git a/app/views/committee_members/_committee_member.html.erb b/app/views/committee_members/_committee_member.html.erb index 69607b4..7dad4c4 100644 --- a/app/views/committee_members/_committee_member.html.erb +++ b/app/views/committee_members/_committee_member.html.erb @@ -8,10 +8,12 @@ method: :delete, class: "btn btn-close pull-right", remote: true, data: { confirm: "Are you sure?" } do %> <% end %> <% end %> <% else %> - <%= hidden_field_tag "committee_member_ids[]", committee_member.id %> - - - + <% if current_user.role != User::STUDENT %> + <%= hidden_field_tag "committee_member_ids[]", committee_member.id %> + + + + <% end %> <% end %> diff --git a/app/views/reports/by_status.html.erb b/app/views/reports/by_status.html.erb index e2440a9..5aa1a01 100644 --- a/app/views/reports/by_status.html.erb +++ b/app/views/reports/by_status.html.erb @@ -8,7 +8,7 @@
<%= @thesis.published_date ? @thesis.published_date.strftime("%B %d, %Y") : format(@thesis.published_date) %>
<%= format @thesis.degree_name %> - <%= format @thesis.degree_level %>
diff --git a/app/views/student_view/process/submit.html.erb b/app/views/student_view/process/submit.html.erb index 7b1a109..4c83039 100644 --- a/app/views/student_view/process/submit.html.erb +++ b/app/views/student_view/process/submit.html.erb @@ -23,7 +23,7 @@<%= format @thesis.supervisor %>
<%= @thesis.exam_date.strftime("%B %d, %Y") rescue nil %>
-<%= @thesis.published_date ? @thesis.published_date.strftime("%B %d, %Y") : format(@thesis.published_date) %>
<%= format @thesis.supervisor %>
<%= @thesis.published_date ? @thesis.published_date.strftime("%B %d, %Y") : format(@thesis.published_date) %>
<%= format @thesis.supervisor %>
<%= @thesis.exam_date.strftime("%B %d, %Y") rescue nil %>
-<% if @thesis.embargoed == true %> Never