Skip to content

Commit

Permalink
Merge pull request #63 from CodeWithEmad/fix/footer-date
Browse files Browse the repository at this point in the history
fix: footer date
  • Loading branch information
hinakhadim committed Feb 26, 2024
2 parents 188cb63 + 64157ab commit b4e4110
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
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

0 comments on commit b4e4110

Please sign in to comment.