Sha256: 24efa98708ee50fdb1f196bafe1e3f675b0ca8345af38f509393c529d4719bfa

Contents?: true

Size: 1.62 KB

Versions: 12

Compression:

Stored size: 1.62 KB

Contents

<div id="content_detail" class="ui-corner-all">
<h1 class="title"><%= t('activerecord.models.message') -%></h1>
<div id="content_list">
<p id="notice"><%= notice %></p>

  <fieldset>
      <p>
        <label for="message_receiver_name" ><strong><%= t('message.receiver') -%>:</strong></label>
        <%= link_to @message.receiver.username, @message.receiver -%>
      </p>
      <p>
        <label for="message_sender_name" ><strong><%= t('message.sender') -%>:</strong></label>
        <%= link_to @message.sender.username, @message.sender -%>
      </p>

      <p>
        <label for="message_sent_at" ><strong><%= t('message.sent_at') -%>:</strong></label>
        <%= l(@message.created_at) -%>
      </p>

      <p>
        <label for="message_subject" ><strong><%= t('activerecord.attributes.message.subject') -%>:</strong></label>
        <%= @message.subject -%>
      </p>

      <p>
        <label for="message_body" ><strong><%= t('activerecord.attributes.message.body') -%>:</strong></label>
        <%= raw auto_link(simple_format(h(@message.body))) -%>
      </p>

  </fieldset>

</div>
</div>

<div id="submenu" class="ui-corner-all">
  <ul>
    <% if request.referer %>
      <li><%= link_to t('page.back'), :back -%></li>
    <% else %>
      <li><%= link_to t('page.listing', :model => t('activerecord.models.message')), messages_path -%></li>
    <% end %>
    <li><%= link_to t('message.reply'), new_message_path(:parent_id => @message.id) -%></li>
    <% if can? :destroy, :message %>
      <li><%= link_to t('page.destroy'), @message, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%></li>
    <% end %>
  </ul>
</div>

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
enju_message-0.1.14.pre4 app/views/messages/show.html.erb
enju_trunk_message-0.1.14.pre3 app/views/messages/show.html.erb
enju_message-0.1.14.pre3 app/views/messages/show.html.erb
enju_message-0.1.14.pre2 app/views/messages/show.html.erb
enju_message-0.1.14.pre app/views/messages/show.html.erb
enju_message-0.1.13 app/views/messages/show.html.erb
enju_message-0.1.12 app/views/messages/show.html.erb
enju_message-0.1.11 app/views/messages/show.html.erb
enju_message-0.0.25 app/views/messages/show.html.erb
enju_message-0.1.9 app/views/messages/show.html.erb
enju_message-0.0.24 app/views/messages/show.html.erb
enju_message-0.1.8 app/views/messages/show.html.erb