Skip to content

Commit

Permalink
simplify copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaney committed Mar 20, 2024
1 parent c0b1396 commit 3446efa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
8 changes: 1 addition & 7 deletions course_grader/templates/500.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,13 +180,7 @@ <h1 id="gradepage-main" class="sr-only">GradePage - Online Grade Submission</h1>
<div class="container">

<script type="text/javascript">
if (mobile) {
document.write('<p class="credit">&copy; 2012-{% now "Y" %}, UW-IT, T&amp;LS&nbsp;&nbsp;<a href="http://www.washington.edu/online/privacy" title="UW Privacy Policy">Privacy</a> | <a href="http://www.washington.edu/online/terms" title="UW Terms of Service">Terms</a></p>');
}
else {
document.write('<p class="credit">&copy; 2012-{% now "Y" %}, UW-IT, Teaching &amp; Learning Systems&nbsp;&nbsp;<a href="http://www.washington.edu/online/privacy" title="UW Privacy Policy">Privacy</a> | <a href="http://www.washington.edu/online/terms" title="UW Terms of Service">Terms</a></p>');

}
document.write('<p class="credit">Copyright &copy; {% now "Y" %} University of Washington&nbsp;&nbsp;<a href="http://www.washington.edu/online/privacy" title="UW Privacy Policy">Privacy</a> | <a href="http://www.washington.edu/online/terms" title="UW Terms of Service">Terms</a></p>');
</script>

</div>
Expand Down
7 changes: 1 addition & 6 deletions course_grader/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,7 @@
<div role="contentinfo" id="footer" aria-label="UW conditions of use">
<div class="container">
<div class="clearfix gp-footer">
<!-- example of is_desktop usage in templates -->
{% if request.user_agent.is_mobile %}
<p class="pull-left credit"><a href="http://www.washington.edu/online/privacy" title="UW Privacy Policy" target="_blank">Privacy</a> | <a href="http://www.washington.edu/online/terms" target="_blank" title="UW Terms of Service">Terms</a><br />&copy; 2012-{% now "Y" %}, UW-IT, T&amp;LS</p>
{% else %}
<p class="pull-left credit"><a href="http://www.washington.edu/online/privacy" title="UW Privacy Policy" target="_blank">Privacy</a> | <a href="http://www.washington.edu/online/terms" target="_blank" title="UW Terms of Service">Terms</a><br />&copy; 2012-{% now "Y" %}, UW-IT, Teaching &amp; Learning Systems</p>
{% endif %}
<p class="pull-left credit"><a href="http://www.washington.edu/online/privacy" title="UW Privacy Policy" target="_blank">Privacy</a> | <a href="http://www.washington.edu/online/terms" target="_blank" title="UW Terms of Service">Terms</a><br />Copyright &copy; {% now "Y" %} University of Washington</p>
<p class="pull-right gp-help"><a href="https://itconnect.uw.edu/learn/tools/gradepage/" target="_blank" title="Go to GradePage documentation"><i class="fas fa-info-circle"></i> {% if request.user_agent.is_mobile %}Help{% else %}GradePage Help{% endif %}</a> | <a href="{% url 'saml_logout' %}" title="Logout">Logout</a></p>
</div>
</div>
Expand Down

0 comments on commit 3446efa

Please # to comment.