Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: footer date #63

Merged
merged 4 commits into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Indigo, a cool blue theme for Open edX
======================================

Indigo is an elegant, customizable theme for `Open edX <https://open.edx.org>`__.
Indigo is an elegant, customizable theme for `Open edX <https://openedx.org>`__.

.. image:: ./screenshots/01-landing-page.png
:alt: Platform landing page
Expand Down Expand Up @@ -80,7 +80,9 @@ The static templates used by Open edX to render those pages are all stored in th

ls tutorindigo/templates/indigo/lms/templates/static_templates"

For instance, edit the "donate.html" file in this directory. We can derive the content of this file from the contents of the `donate.html <https://github.com/edx/edx-platform/blob/open-release/quince.master/lms/templates/static_templates/donate.html>`__ static template in edx-platform::
For instance, edit the "donate.html" file in this directory. We can derive the content of this file from the contents of the `donate.html <https://github.com/edx/edx-platform/blob/open-release/quince.master/lms/templates/static_templates/donate.html>`__ static template in edx-platform:

.. code-block:: mako

<%page expression_filter="h"/>
<%! from django.utils.translation import ugettext as _ %>
Expand Down
Binary file modified screenshots/01-landing-page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 5 additions & 4 deletions tutorindigo/templates/indigo/lms/templates/footer.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## mako
<%page expression_filter="h"/>
<%!
from datetime import datetime
from django.urls import reverse
from django.utils.translation import gettext as _
from lms.djangoapps.branding.api import get_footer
Expand Down Expand Up @@ -30,7 +31,7 @@
<ul class="logo-list">
<li>Powered by:</li>
<li>
<a href="https://docs.tutor.overhang.io" rel="noopener" target="_blank">
<a href="https://docs.tutor.edly.io" rel="noopener" target="_blank">
<img src="${static.url('images/tutor-logo.png')}" alt="Runs on Tutor" width="57" />
</a>
</li>
Expand All @@ -52,7 +53,7 @@
</ol>
</nav>
</div>
<span class="copyright-site">Copyrights ©2023. All Rights Reserved.</span>
<span class="copyright-site">Copyrights ©${datetime.now().year}. All Rights Reserved.</span>
% endif
<div class="colophon">

Expand Down Expand Up @@ -94,7 +95,7 @@
<ul class="logo-list">
<li>Powered by:</li>
<li>
<a href="https://docs.tutor.overhang.io" rel="noopener" target="_blank">
<a href="https://docs.tutor.edly.io" rel="noopener" target="_blank">
<img src="${static.url('images/tutor-logo.png')}" alt="Runs on Tutor" width="57" />
</a>
</li>
Expand All @@ -116,7 +117,7 @@
</ol>
</nav>
</div>
<span class="copyright-site">Copyrights ©2023. All Rights Reserved.</span>
<span class="copyright-site">Copyrights ©${datetime.now().year}. All Rights Reserved.</span>
% endif
<div class="colophon">

Expand Down
Loading