Sha256: fc00f241411feca06b6cbb52673dca4dfd882d25e161eba4a885a9be40e3fea9

Contents?: true

Size: 1.55 KB

Versions: 4

Compression:

Stored size: 1.55 KB

Contents

<header class='header-main hidden-print'>
  <div class="header-gutter">
    <%= link_to_back search_messages_path %>
  </div>
  <div class="header-title"></div>
  <div class="header-actions">
  </div>
</header>

<section class="body-main">
  <h2><%= @message.subject %></h2>
  <div class="message-info">
    <div class="btn-group pull-right hidden-print">
      <%= link_to "#{icon_tag('reply')} Reply".html_safe, "mailto:#{@message.email}", class: 'btn btn-warning btn-sm', target: '_blank' %>
      <button type="button" class="btn btn-warning btn-sm dropdown-toggle" data-toggle="dropdown">
        <span class="caret"></span>
        <span class="sr-only">Toggle Dropdown</span>
      </button>
      <ul class="dropdown-menu" role="menu">
        <%= message_actions_list(@message) %>
      </ul>
    </div>
    <strong>
      <%= @message.name_or_anonymous %>
    </strong>
    <span>&lt;<%= @message.email %>&gt;</span>
    <span>on <%= @message.created_at.strftime('%F %H:%M') %></span>
    <span>sent from <%= link_to @message.referrer, @message.referrer %></span>
  </div>
  <div class="message-content">
    <%= @message.message.html_safe %>
  </div>
  <div class="message-additional-info">
    <p>
      <b>Phone</b>: <%= @message.phone_or_none %>
    </p>
    <p>
      <b>Attachment</b>:
      <% if @message.attachment.try(:file) and @message.attachment.file.exists? %>
      <%= link_to @message.attachment.file.filename, @message.attachment.url %>
      <% else -%>
      <span class='muted'>There were no attachment.</span>
      <% end -%>
    </p>
  </div>
</section>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
georgia-0.7.3 app/views/georgia/messages/show.html.erb
georgia-0.7.2 app/views/georgia/messages/show.html.erb
georgia-0.7.1 app/views/georgia/messages/show.html.erb
georgia-0.7.0 app/views/georgia/messages/show.html.erb