Sha256: 9f31330df030568c8bb22a74f7207836198305d35d967e80b26316cfbe40be03

Contents?: true

Size: 1.53 KB

Versions: 11

Compression:

Stored size: 1.53 KB

Contents

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

	<%= render :partial => "/tr8n/common/header" %>
	
	<div class="section_title">
	  <div style="float:right; font-size:12px; padding-top:5px;">
	    <% if params[:mode] == "all" %>
	        <%=link_to(tra("Awards for {language} Language", 'Awards section header', :language => tr8n_current_language.native_name), :mode => :current) %> 
	    <% else %>
	        <%=link_to(tra("Awards for All Languages", 'Awards section header'), :mode => :all) %> 
	    <% end %>
	  </div>
	  
	  <% if params[:mode] == "all" %> 
	    <%=tra("Awards for All Languages", 'Awards section header')%>
	  <% else %>
	    <%=tra("Awards for {language} Language", 'Awards section header', :language => tr8n_current_language.native_name) %>
	  <% end %>  
	</div>
	
	<div class="section grey">
	  <%= render(:partial => 'list', :locals => {:metrics => @leaders, :show_medals => true}) %>  
	</div>
	
	<% unless @runners.empty? %>
	  <div class="section_title">
	    <% if params[:mode] == "all" %> 
	      <%=tra("Runner-Ups for All Languages", 'Awards section header')%>
	    <% else %>
	      <%=tra("Runner-Ups for {language} Language", 'Awards section header', :language => tr8n_current_language.native_name) %>
	    <% end %>  
	  </div>
	  <div style="border: 1px dotted #ccc; padding:10px; margin-top:5px; margin-top:10px;">
	    <%= render(:partial => 'list', :locals => {:metrics => @runners, :show_medals => false}) %>  
	  </div>
	<% end %>
	
	<%= render :partial => "/tr8n/common/footer" %>
	
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

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