Commit 08fa68f2 authored by Administrator's avatar Administrator 💬

Add a link to the WebIDE to each page.

Implements #4
parent dba3b33f
Pipeline #44 passed with stage
in 1 minute and 13 seconds
{% extends 'textbook.html.twig' %}
\ No newline at end of file
{% extends 'columns.html.twig' %}
\ No newline at end of file
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
{% for column in page.collection() %} {% for column in page.collection() %}
<section id="{{ macro.pageLinkName(column.menu) }}" class="claude-column"> <section id="{{ macro.pageLinkName(column.menu) }}" class="claude-column">
{{ column.content|raw }} {{ column.content|raw }}
{% include 'partials/contributions-incentive.html.twig' with {page: column} %}
</section> </section>
{% endfor %} {% endfor %}
</div> </div>
......
{% extends 'default.html.twig' %}
<div class="notices blue contribution-incentive">
<p>
{{ 'THEME_TEXTBOOK.PAGE.FOOTER_NOTICE.CONGRATULATIONS'|t }}
<br>
<a href="{{ page | webide_url }}">{{ 'THEME_TEXTBOOK.PAGE.FOOTER_NOTICE.EDIT'|t }}</a>
</p>
</div>
\ No newline at end of file
...@@ -4,11 +4,5 @@ ...@@ -4,11 +4,5 @@
{{ page.content|raw }} {{ page.content|raw }}
<div class="notices blue contribution-incentive"> {% include 'partials/contributions-incentive.html.twig' %}
<p>
{{ 'THEME_TEXTBOOK.PAGE.FOOTER_NOTICE.CONGRATULATIONS'|t }}
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="{{ page | webide_url }}">{{ 'THEME_TEXTBOOK.PAGE.FOOTER_NOTICE.EDIT'|t }}</a>
</p>
</div>
{% endblock %} {% endblock %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment