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" %}
  +                                    - blocktrans with time_limit=contest.time_limit|timedelta:"simple-no-seconds"
  +                                        | {{ time_limit }} window
                                   else
  -                                    | #{contest.contest_window_length|timedelta:"simple-no-seconds"} {% trans "long" %}
  +                                    - blocktrans with window_length=contest.contest_window_length|timedelta:"simple-no-seconds"
  +                                        | {{ window_length }} long
                       td
                           a(href='{% url "contest_ranking" contest.key %}') x#{contest.participation_count}
  
positive.code:                                             | #{contest.start_time|date:"M j, Y, G:i"}
                                          br
                                          if contest.time_limit
                                              | #{contest.time_limit|timedelta:"simple-no-seconds"} {% trans "window" %}
                                          else
                                              | #{contest.contest_window_length|timedelta:"simple-no-seconds"} {% trans "long" %}
                                      if contest.is_external
                                          .external-notice
                                              a(href='/about#external-contests') {% trans "External contest" %}
                                  
                          td
                              a(href='{% url "contest_ranking" contest.key %}') x#{contest.participation_count}
                          if not IN_CONTEST
                              td
                                  a.unselectable.button.full(href='{% url "contest_join" contest.key %}', style='display:inline;padding-left:30%;padding-right:30%') Join
          br
          .dashed
          
  
negative.code:                                             | #{contest.start_time|date:"M j, Y, G:i"}
                                          br
                                          if contest.time_limit
                                              - blocktrans with time_limit=contest.time_limit|timedelta:"simple-no-seconds"
                                                  | {{ time_limit }} window
                                          else
                                              - blocktrans with window_length=contest.contest_window_length|timedelta:"simple-no-seconds"
                                                  | {{ window_length }} long
                                      if contest.is_external
                                          .external-notice
                                              a(href='/about#external-contests') {% trans "External contest" %}
  