Skip to content

Commit

Permalink
better visualize separation of message terms
Browse files Browse the repository at this point in the history
  • Loading branch information
Lennart Koopmann committed Dec 21, 2011
1 parent 3b58016 commit 401d54c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/views/messages/_full_message.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@

<div id="messages-show-terms-modal" style="display: none;">
<h2>Terms of message <span class="highlighted"><%= @message.id %></span></h2>
<strong>|</strong>
<% @terms.in_groups_of(20) do |group| %>
<%= group.delete_if {|t| t.nil? }.to_s %><br />
<% group.delete_if {|t| t.nil? }.each do |t| %>
<%= t %> <strong>|</strong>
<% end %><br />
<% end %>
</div>
<%= link_to "In which terms was this message broken to?", "#", { :onclick => "$('#messages-show-terms-modal').modal({ overlayClose:true })" } %>
Expand Down

0 comments on commit 401d54c

Please sign in to comment.