Sha256: 289454f0596f55aa11da698a5729da33195e64b99d9a8d2d270b44338147f526

Contents?: true

Size: 1.5 KB

Versions: 12

Compression:

Stored size: 1.5 KB

Contents

<%= tr8n_with_options_tag(:default_locale => 'en-US', :admin => true) do %>

	<%= render :partial => "/tr8n/common/header" %>
	
	<% if @topic %>
	  <div class="section_title">
	
	    <div style="float:right; padding-top:20px; font-size:12px; color: #ccc;">
	      <%=link_to(image_tag("tr8n/reply.png") + " " + tra("Reply", "Reply button for forum topics"), :topic_id => @topic.id, :page => params[:page], :anchor => :reply_message) %> 
	      &nbsp; |  &nbsp; 
	      <%=link_to(image_tag("tr8n/plus.png") + " " + tra("Start a new discussion topic"), :mode => :create) %>
	    </div>
	
	    <div style="color:grey;font-size:16px;font-weight:bold">
			  <% if @topic.language %>
	        <%=link_to(tra("{language} Language Forum", nil, :language => @topic.language.native_name), :action => :index)%>
				<% else %>
	        <%=link_to(tra("General Forum"), :action => :index)%>
				<% end %>	 
				 &raquo; <%=link_to(@topic.topic, :topic_id => @topic.id)%>
	    </div>
			
	    <div style="color:grey;font-size:12px;font-style:italic;padding-top:3px;padding-bottom:3px;">
	       <%= tra("Started by {user} on {date}", "", 
	            {:user => [@topic.translator.user, tr8n_user_tag(@topic.translator, :linked => true)], :date => @topic.created_at.trl}) %>
	    </div>
	  </div>
	  <%= render :partial => "messages" %>
	  <%= render :partial => "new_message" %>  
	<% else %>
	  <%= render :partial => "new_topic", :locals => {:include_cancel_button => true} %>
	<% end %>
	
	<%= render :partial => "/tr8n/common/footer" %>
	
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

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