Sha256: f2cbd44dcd5355d40c0b1a505eb8134d7204baab463d06c6cffb1393c918cd2f

Contents?: true

Size: 839 Bytes

Versions: 11

Compression:

Stored size: 839 Bytes

Contents

<div id="comments_module">
	<div class="section_title">
		<%=tr8n_toggler_tag("comments_content")%>
	  <%=tra("Comments") %>
		<a name="comments">&nbsp;</a>
	</div>

	<div class="section" id="comments_content">
		<div style="margin-bottom:10px;">
			<% if @comments.any? %>
				<%=tr8n_paginator_tag(@comments, :subject => "comment")%>
			
			  <table style="width:100%; ">
			    <% @comments.each do |comment| %>
			      <%
			        style = (comment == @comments.last ? "" : "border-bottom:1px dotted #ccc;" )
			      %>  
			      <tr style="<%=style%>">
			        <%= render :partial => "comment", :locals => {:comment => comment} %> 
			      </tr>
			    <% end %>
			  </table>
			<% else %>
			    <%=tra("This phrase has no comments.")%>
	    <% end %>		
		</div>
	  <%= render :partial => "new_comment" %>  
	</div>
</div>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
tr8n-3.2.3 app/views/tr8n/phrases/_comments_module.html.erb
tr8n-3.2.2 app/views/tr8n/phrases/_comments_module.html.erb
tr8n-3.2.1 app/views/tr8n/phrases/_comments_module.html.erb
tr8n-3.2.0 app/views/tr8n/phrases/_comments_module.html.erb
tr8n-3.1.8 app/views/tr8n/phrases/_comments_module.html.erb
tr8n-3.1.7 app/views/tr8n/phrases/_comments_module.html.erb
tr8n-3.1.6 app/views/tr8n/phrases/_comments_module.html.erb
tr8n-3.1.5 app/views/tr8n/phrases/_comments_module.html.erb
tr8n-3.1.4 app/views/tr8n/phrases/_comments_module.html.erb
tr8n-3.1.3 app/views/tr8n/phrases/_comments_module.html.erb
tr8n-3.1.2 app/views/tr8n/phrases/_comments_module.html.erb