anchor.diff:                                      | #{contest.start_time|date:"M j, Y, G:i"}
                                   br
                                   if contest.time_limit
  -                                    | #{contest.time_limit|timedelta:"simple-no-seconds"} {% trans "window
  +                                    | #{contest.time_limit|timedelta:"simple-no-seconds"} {% trans "window" %}
                                   else
  -                                    | #{contest.contest_window_length|timedelta:"simple-no-seconds"} {% trans "long
  +                                    | #{contest.contest_window_length|timedelta:"simple-no-seconds"} {% trans "long" %}
                       td
                           a(href='{% url "contest_ranking" contest.key %}') x#{contest.participation_count}
  
positive.code:     br
      hr.dashed
      br
      h3 {% trans "Past Contests
      br
      table.contest-list.table.striped
          thead
              tr
                  th(style='width:95%') {% trans "Contest
                  th {% trans "Rankings
          tbody
              each contest in past_contests
                  tr
  
negative.code:                             a(href='{% url "contest_view" contest.key %}')= contest.name
                              if contest.is_external
                                  .external-notice
                                      a(href='/about#external-contests') {% trans "External contest" %}
                              span.floating-time-right(style='text-align:right;color:#777;')
                                  if contest.time_limit
                                      | #{contest.start_time|date:"M j, Y, G:i"} - #{contest.end_time|date:"M j, Y, G:i"}
  