Skip to content

Commit 05bce6a

Browse files
authored
Merge pull request #152 from sympy/dynamic-copyright
Make copyright year dynamic
2 parents 5264329 + cb9ccfa commit 05bce6a

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ Branch builds are automatically deployed by Travis to
156156
`https://<BRANCH-NAME>-dot-sympy-live-hrd.appspot.com/`.
157157
Note that branch has to be on this repository, as forks
158158
do not have access to the key to deploy to the app engine,
159-
and branch name should match the regex: `[0-9a-zA-Z-_]`
159+
and branch name should match the regex: ``[0-9a-zA-Z-_]``
160160
(See app.yaml to check out the static files regex) for
161161
the static files to load properly
162162

shell.py

+1
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,7 @@ def get(self):
647647
vars = {
648648
'server_software': os.environ['SERVER_SOFTWARE'],
649649
'application_version': LIVE_VERSION,
650+
'current_year': datetime.datetime.utcnow().year,
650651
'date_deployed': LIVE_DEPLOYED,
651652
'python_version': sys.version,
652653
'user': users.get_current_user(),

templates/base.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ <h1><a href="/"> <img src="/static-{{application_version}}/images/logo.png" alt=
103103
</aside>
104104
</section>
105105
<footer class="row">
106-
<p>Copyright &copy; 2013 SymPy Development Team. SymPy Live version
106+
<p>Copyright &copy; 2013-{{ current_year }} SymPy Development Team. SymPy Live version
107107
{{application_version}} deployed on {{date_deployed}}</p>
108108
<p>SymPy Live is open source. Fork
109109
<a href="https://github.com/sympy/sympy-live/">the project on

0 commit comments

Comments
 (0)