Skip to content
Snippets Groups Projects
Commit 65b26069 authored by Kerdo Kurs's avatar Kerdo Kurs
Browse files

fix some small things

parent 7214c151
No related branches found
No related tags found
No related merge requests found
Pipeline #47350 failed
......@@ -64,11 +64,17 @@
<span class="text-sm text-zinc-700 dark:text-zinc-300">
Hello, <%= @conn.assigns.current_user.name %>!
</span>
<.link
href={~p"/chat"}
class="text-sm font-medium text-zinc-700 hover:text-zinc-900 dark:text-zinc-300 dark:hover:text-zinc-100"
>
Messages
</.link>
<.link
href={~p"/me"}
class="text-sm font-medium text-zinc-700 hover:text-zinc-900 dark:text-zinc-300 dark:hover:text-zinc-100"
>
Profile
profile
</.link>
<button
id="logout_button"
......
......@@ -9,14 +9,14 @@
<h1 class="message-title font-bold text-lg">
<%= message.title %>
</h1>
<p class="text-zinc-800 italic text-sm">
<p class="text-zinc-800 italic text-sm dark:text-white">
<%= if message.user_id == @conn.assigns[:current_user].id do %>
You
<% else %>
<%= message.user.name %>
<% end %>
->
<%= if message.user_id == @conn.assigns[:current_user].id do %>
<%= if message.user_id != @conn.assigns[:current_user].id do %>
<%= message.user.name %>
<% else %>
You
......
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