feat(module_lesson_page.html): add link to Gitea code

This commit is contained in:
2026-04-23 19:56:09 +02:00
parent 1875c6fd97
commit 29f8475b88

View File

@@ -19,6 +19,15 @@
&raquo; <span class="text-gray-500">{{ page.title }}</span>
</h2>
{% if page.create_gitea_repo and page.gitea_repo_url %}
<p class="not-prose mb-6 text-gray-600 text-lg flex items-center gap-1">
<i class="fi fi-br-code-window leading-0"></i>
<a href="{{ page.gitea_repo_url }}" class="hover:underline" target="_blank" rel="noopener noreferrer">
{% trans "View code on Gitea" %}
</a>
</p>
{% endif %}
{{ page.body|richtext }}
{% endblock content %}