add links to user profile for dmails
This commit is contained in:
@@ -5,8 +5,8 @@
|
|||||||
<h2><%= @dmail.title %></h2>
|
<h2><%= @dmail.title %></h2>
|
||||||
|
|
||||||
<ul style="margin-bottom: 1em;">
|
<ul style="margin-bottom: 1em;">
|
||||||
<li><strong>Sender</strong>: <%= @dmail.from_name %></li>
|
<li><strong>Sender</strong>: <%= link_to @dmail.from_name, user_path(@dmail.from_id) %></li>
|
||||||
<li><strong>Recipient</strong>: <%= @dmail.to_name %></li>
|
<li><strong>Recipient</strong>: <%= link_to @dmail.to_name, user_path(@dmail.to_id) %></li>
|
||||||
<li><strong>Date</strong>: <%= compact_time(@dmail.created_at) %></li>
|
<li><strong>Date</strong>: <%= compact_time(@dmail.created_at) %></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user