|
37 | 37 | - transition-step-1 (`transition_url` variable needed): we indicate that there
|
38 | 38 | is a new version of the lesson that is available for testing, and that it will be deprecated in the future.
|
39 | 39 | - transition-step-2 (`transition_url` and `transition_date` variables needed): we indicate that a new version of the lesson is avaiable with a deprecation date.
|
40 |
| -- transition-step-3 (`transition_url` variable needed): the lesson if fully deprecated, and a redirect is set up to the new URL |
| 40 | +- transition-step-3 (`transition_url` variable needed): the lesson is fully deprecated, and a redirect is set up to the new URL |
41 | 41 | {% endcomment %}
|
42 | 42 |
|
43 | 43 | {% elsif site.life_cycle == "transition-step-1" %}
|
44 | 44 | {% include check_transition_variables.html need_transition_date = 'false' %}
|
45 | 45 |
|
46 | 46 | <div class="alert alert-warning life-cycle">
|
47 |
| - A newer version of this lesson is being tested: |
| 47 | + A newer version of this lesson is being tested on The Carpentries Workbench: |
48 | 48 | <a href="{{ site.transition_url }}">{{ site.transition_url }}</a>.
|
49 |
| - This lesson will become deprecated in the near future. |
| 49 | + The Jekyll version of this lesson will become deprecated in the near future. |
50 | 50 | </div>
|
51 | 51 |
|
52 | 52 | {% elsif site.life_cycle == "transition-step-2" %}
|
53 | 53 | {% include check_transition_variables.html need_transition_date = 'true' %}
|
54 | 54 |
|
55 | 55 | <div class="alert alert-danger life-cycle">
|
56 |
| - A newer version of this lesson is available from: <a href="{{ site.transition_url }}">{{ site.transition_url }}</a>. |
57 |
| - This lesson will become deprecated on {{ site.transition_date }}. |
| 56 | + A newer version of this lesson is available from: |
| 57 | + <a href="{{ site.transition_url }}">{{ site.transition_url }}</a>. |
| 58 | + The Jekyll version of this lesson will become deprecated on |
| 59 | + {{ site.transition_date }}. |
58 | 60 | </div>
|
59 | 61 |
|
60 | 62 | {% elsif site.life_cycle == "transition-step-3" %}
|
61 | 63 | {% include check_transition_variables.html need_transition_date = 'false' %}
|
62 | 64 |
|
63 | 65 | <div class="alert alert-danger life-cycle">
|
64 |
| - This lesson is deprecated. A newer version is available from: <a href="{{ site.transition_url }}">{{ site.transition_url }}</a>. |
| 66 | + You are veiwing a deprecated version of this lesson. An updated version is |
| 67 | + available from: |
| 68 | + <a href="{{ site.transition_url }}">{{ site.transition_url }}</a>. |
65 | 69 | </div>
|
66 | 70 |
|
67 | 71 | {% endif %}
|
|
0 commit comments