Sha256: 92f7de4460dd61dd46ea88b0d866b700f7cb87ad652d21ccc36e744a4fd9d8f8

Contents?: true

Size: 1.26 KB

Versions: 14

Compression:

Stored size: 1.26 KB

Contents

- if @instance.has_results?
  %table.results
    %thead
      = render :partial => 'race_performances/headings'
    %tbody
      = render :partial => 'race_performances/performance', :collection => @performances.completed
      = render :partial => 'race_performances/performance', :collection => @performances.incomplete

- else
  %p.noresults
    Not available yet.

- content_for :breadhead do
  = link_to "Race results", races_url, :class => 'breadhead'

- content_for :breadhead do
  - home = Page.find_by_parent_id(nil)
  = link_to home.breadcrumb, home.url
  \>
  = link_to "Races", races_url
  \>
  = link_to @instance.race.name, race_url(@instance.race), :class => 'breadhead'
  \>
  = link_to @instance.name, race_instance_url(@instance), :class => 'breadhead'
  \>

- content_for :title do
  = @instance.full_name
  = @category.name

- content_for :introduction do
  %p
    There were
    = @performances.count
    people eligible for the
    = @category.name
    category:

- content_for :see_also do
  %h3 
    More results from 
    = @instance.full_name
  %p
    = link_to("Combined", race_instance_url(@race, @instance)) + ', '
    = @instance.categories.map { |category| link_to category.name, race_category_url(@race, @instance, category) }.join(', ')
  

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
radiant-race_results-extension-1.4.6 app/views/race_categories/show.html.haml
radiant-race_results-extension-1.4.5 app/views/race_categories/show.html.haml
radiant-race_results-extension-1.4.3 app/views/race_categories/show.html.haml
radiant-race_results-extension-1.4.0 app/views/race_categories/show.html.haml
radiant-race_results-extension-1.3.6 app/views/race_categories/show.html.haml
radiant-race_results-extension-1.3.5 app/views/race_categories/show.html.haml
radiant-race_results-extension-1.3.4 app/views/race_categories/show.html.haml
radiant-race_results-extension-1.3.3 app/views/race_categories/show.html.haml
radiant-race_results-extension-1.3.2 app/views/race_categories/show.html.haml
radiant-race_results-extension-1.3.1 app/views/race_categories/show.html.haml
radiant-race_results-extension-1.3.0 app/views/race_categories/show.html.haml
radiant-race_results-extension-1.2.1 app/views/race_categories/show.html.haml
radiant-race_results-extension-1.2.0 app/views/race_categories/show.html.haml
radiant-race_results-extension-1.1.1 app/views/race_categories/show.html.haml