|
41 | 41 | {% endcomment %}
|
42 | 42 |
|
43 | 43 | {% elsif site.life_cycle == "transition-step-1" %}
|
44 |
| -{% include check_transition_variables.html need_transition_date = 'false' %} |
| 44 | +{% include check_transition_variables.html need_transition_date = 'true' %} |
45 | 45 |
|
46 | 46 | <div class="alert alert-warning life-cycle">
|
47 |
| - A newer version of this lesson is being tested on The Carpentries Workbench: |
| 47 | + A snapshot of this lesson from {{ site.transition_date_prebeta }} is being tested on The Carpentries Workbench: |
48 | 48 | <a href="{{ site.transition_url }}">{{ site.transition_url }}</a>.
|
49 |
| - The Jekyll version of this lesson will become deprecated in the near future. |
| 49 | + <br> |
| 50 | + <b>The Workbench version of this lesson will become default on {{ site.transition_date_prerelease }}</b>. |
| 51 | + <button type="button" style="border: true; position: absolute; top: 10px; right: 27px; color: #383838;" class="close" data-dismiss="alert" aria-label="Close"> |
| 52 | + <span aria-hidden="true" style='font-size:34pt'>×</span> |
| 53 | + </button> |
50 | 54 | </div>
|
51 | 55 |
|
52 | 56 | {% elsif site.life_cycle == "transition-step-2" %}
|
53 | 57 | {% include check_transition_variables.html need_transition_date = 'true' %}
|
54 | 58 |
|
55 |
| -<div class="alert alert-danger life-cycle"> |
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 }}. |
60 |
| -</div> |
61 |
| - |
62 |
| -{% elsif site.life_cycle == "transition-step-3" %} |
63 |
| -{% include check_transition_variables.html need_transition_date = 'false' %} |
64 |
| - |
65 |
| -<div class="alert alert-danger life-cycle"> |
66 |
| - You are veiwing a deprecated version of this lesson. An updated version is |
67 |
| - available from: |
| 59 | +<div class="alert alert-danger alert-dismissible life-cycle" role="alert"> |
| 60 | + This lesson is a <b>snapshot from {{ site.transition_date_beta }}</b>. |
| 61 | + A newer version is being tested on The Carpentries Workbench: |
68 | 62 | <a href="{{ site.transition_url }}">{{ site.transition_url }}</a>.
|
| 63 | + <br> |
| 64 | + The Workbench version of this lesson will become default on <b>{{ site.transition_date_prerelease }}</b>. |
| 65 | + <button type="button" style="border: true; position: absolute; top: 10px; right: 27px; color: #383838;" class="close" data-dismiss="alert" aria-label="Close"> |
| 66 | + <span aria-hidden="true" style='font-size:34pt'>×</span> |
| 67 | + </button> |
69 | 68 | </div>
|
70 | 69 |
|
71 | 70 | {% endif %}
|
|
0 commit comments