app/views/georgia/messages/show.html.erb in georgia_mailer-0.1.3 vs app/views/georgia/messages/show.html.erb in georgia_mailer-0.8.0
- old
+ new
@@ -5,25 +5,25 @@
<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-title">
+ <%= message_actions_list(@message) %>
+ </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 class="nav">
+ <li>
+ <%= link_to "#{icon_tag('print')} Print".html_safe, "javascript:window.print()", class: 'btn btn-info btn-sm', target: '_blank' %></li>
+ <li>
+ <%= link_to "#{icon_tag('reply')} Reply".html_safe, "mailto:#{@message.email}", class: 'btn btn-warning btn-sm', target: '_blank' %></li>
</ul>
</div>
<strong><%= @message.name_or_anonymous %></strong>
<span><<%= @message.email %>></span>
<span>on <%= @message.created_at.strftime('%F %H:%M') %></span>
\ No newline at end of file