<%= link_to "/chat", class: "link-circle change-page", id: "to-notifications" do %><%= Message.where(user_id: current_user.id, status: "new").count %><% end %>
<% appointments = appointments_by_trainer(user) %>
<% case user.role
when "patient" %>
<%= link_to "/home", title: "Home", class: "change-page" do %>
<%= image_tag("/static/nts-logo.svg", width: 60) %>
<% end %>
<% when "receptionist" %>
<%= link_to "/recepcion", title: "Home", class: "change-page" do %>
<%= image_tag("/static/nts-logo.svg", width: 60) %>
<% end %>
<% when "admin", "trainer" %>
<%= link_to "/pacientes", title: "Home", class: "change-page" do %>
<%= image_tag("/static/nts-logo.svg", width: 60) %>
<% end %>
<% end %>