Transkribus/competitions

If there is a single subtrack, do not show a subtrack identifier; if there is a single track do not show a track identifier

sfikas opened this issue · 3 comments

If there is a single subtrack, do not show a subtrack identifier; if there is a single track do not show a track identifier

This issue refers to a number of distinct cases:

  1. A competition has exactly one track, but multiple subtracks
  2. A track has exactly one subtrack.
  3. A competition has exactly one track and exactly one subtrack.

Case 1

Case (1) can be easily converted to case (2) (except if we have case (3): this is actually case (1)+(2) combined; see related comment below). The organizer has to define one track for each subtrack, and define a single subtrack for each of the new tracks.

Example:

The case 1 competition hierarchy:

Competition --- Track 1 ---- Subtrack 1
                        \--- Subtrack 2
                        \--- Subtrack 3

is converted to an equivalent case 2 competition hierarchy

Competition --- Track 1 ---- Subtrack 1
            \-- Track 2 ---- Subtrack 1
            \-- Track 3 ---- Subtrack 1

Case 2

This case refers to a hierarchy like this:

Competition --- Track 1 ---- Subtrack 1
            \-- Track 2 ---- Subtrack 1
            \-- Track 3 ---- Subtrack 1

In this case, the organizer has to define all tracks and subtracks normally; the site will however have to visualise them differently. 'Track X' will in effect be an alias for 'Subtrack X.1'.

In particular:

  • The word 'subtrack' is not mentioned
  • The dropdown on the navbar for tracks does not show any subtracks
  • The 'track' button calls the 'subtrack' template instead of the 'track' template

Case 3

This case refers to a hierarchy like this:

Competition --- Track 1 ---- Subtrack 1

Again, the organizer has to define both a track and a subtrack.

The difference here will be the 'Track 1' on the navbar showing up now as 'Participate'