X-Git-Url: https://git.arvados.org/rnaseq-cwl-training.git/blobdiff_plain/d597cc224310ca425444352ef50fd325f8a2090b..f5940d9c0510fae6ec11ead432e801957655cd85:/_includes/syllabus.html
diff --git a/_includes/syllabus.html b/_includes/syllabus.html
index cf5ef3f..6f11346 100644
--- a/_includes/syllabus.html
+++ b/_includes/syllabus.html
@@ -1,14 +1,24 @@
+{% include base_path.html %}
+
{% comment %}
-Â Â Mostrar plan de estudios en forma de tabla.
-Â Â Los dÃas se muestran si al menos un episodio tiene 'start = true'.
+ Display syllabus in tabular form.
+ Days are displayed if at least one episode has 'start = true'.
{% endcomment %}
+
+{% include manual_episode_order.html %}
+
-
Horario
+
Schedule
{% assign lesson_number = 0 %}
{% assign day = 0 %}
{% assign multiday = false %}
- {% for episode in site.episodes %}
+ {% for lesson_episode in lesson_episodes %}
+ {% if site.episode_order %}
+ {% assign episode = site.episodes | where: "slug", lesson_episode | first %}
+ {% else %}
+ {% assign episode = lesson_episode %}
+ {% endif %}
{% if episode.start %}{% assign multiday = true %}{% break %}{% endif %}
{% endfor %}
{% assign current = site.start_time %}
@@ -17,23 +27,28 @@
{% if multiday %} | {% endif %}
|
- Configuración |
- Descargar los archivos necesarios para la lección |
+ Setup |
+ Download files required for the lesson |
- {% for episode in site.episodes %}
- {% if episode.start %} {% comment %} ¿Comenzando un nuevo dÃa? {% endcomment %}
+ {% for lesson_episode in lesson_episodes %}
+ {% if site.episode_order %}
+ {% assign episode = site.episodes | where: "slug", lesson_episode | first %}
+ {% else %}
+ {% assign episode = lesson_episode %}
+ {% endif %}
+ {% if episode.start %} {% comment %} Starting a new day? {% endcomment %}
{% assign day = day | plus: 1 %}
- {% if day > 1 %} {% comment %} Si está por comenzar el dÃa 2 o más tarde, muestre el tiempo de finalización del dÃa anterior {% endcomment %}
+ {% if day > 1 %} {% comment %} If about to start day 2 or later, show finishing time for previous day {% endcomment %}
{% assign hours = current | divided_by: 60 %}
{% assign minutes = current | modulo: 60 %}
{% if multiday %} | {% endif %}
{% if hours < 10 %}0{% endif %}{{ hours }}:{% if minutes < 10 %}0{% endif %}{{ minutes }} |
- Finalizar |
+ Finish |
|
{% endif %}
- {% assign current = site.start_time %} {% comment %}Restablecer el tiempo de inicio de este episodio a la hora de inicio diaria general {% endcomment %}
+ {% assign current = site.start_time %} {% comment %}Re-set start time of this episode to general daily start time {% endcomment %}
{% endif %}
{% assign hours = current | divided_by: 60 %}
{% assign minutes = current | modulo: 60 %}
@@ -42,11 +57,11 @@
{% if hours < 10 %}0{% endif %}{{ hours }}:{% if minutes < 10 %}0{% endif %}{{ minutes }} |
{% assign lesson_number = lesson_number | plus: 1 %}
- {{ lesson_number }}. {{ episode.title }}
+ {{ lesson_number }}. {{ episode.title }}
|
{% if episode.break %}
- Descanso
+ Break
{% else %}
{% if episode.questions %}
{% for question in episode.questions %}
@@ -66,13 +81,13 @@
|
{% if multiday %} | {% endif %}
{% if hours < 10 %}0{% endif %}{{ hours }}:{% if minutes < 10 %}0{% endif %}{{ minutes }} |
- Final |
+ Finish |
|
- El horario real puede variar ligeramente dependiendo de los temas y ejercicios elegidos por el instructor.
+ The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.