Skip to content

Commit

Permalink
Merge branch 'release-4.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
jnga committed Sep 21, 2024
2 parents 79974f6 + 5311b46 commit 274529e
Show file tree
Hide file tree
Showing 16 changed files with 82 additions and 44 deletions.
2 changes: 1 addition & 1 deletion gobotany/editor/templates/gobotany/edit_pile_taxon.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<p>
← return to pile <a href="..">{{ pile.slug }}</a><br>
→ visit this plant in the <a href="/admin/core/taxon/{{ taxon.id }}"
→ visit this plant in the <a href="/admin/core/taxon/{{ taxon.id }}/"
>admin interface</a>
</p>

Expand Down
21 changes: 0 additions & 21 deletions gobotany/plantshare/migrations/0009_alter_screenedimage_image.py

This file was deleted.

19 changes: 0 additions & 19 deletions gobotany/site/migrations/0009_alter_document_upload.py

This file was deleted.

10 changes: 9 additions & 1 deletion gobotany/site/templates/gobotany/_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,15 @@

<link rel="canonical" href="https://gobotany.nativeplanttrust.org{{ request.path }}">

<link rel="shortcut icon" href="/static/images/branding/favicon.png">
<link rel="apple-touch-icon" sizes="180x180"
href="/static/images/branding/gb-apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32"
href="/static/images/branding/gb-favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16"
href="/static/images/branding/gb-favicon-16x16.png">
<link rel="mask-icon"
href="/static/images/branding/gb-safari-pinned-tab.svg"
color="#5bbad5">

{# Unless this is the Production site, ask not to be indexed. #}
{% if 'gobotany.nativeplanttrust.org' not in request.META.HTTP_HOST %}
Expand Down
Binary file removed gobotany/static/images/branding/favicon.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions gobotany/static/images/branding/gb-admin-safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gobotany/static/images/branding/gb-favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions gobotany/static/images/branding/gb-safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions gobotany/templates/admin/base_site.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{% extends "admin/base_site.html" %}

{% block extrahead %}
<link rel="apple-touch-icon" sizes="180x180"
href="/static/images/branding/gb-admin-apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32"
href="/static/images/branding/gb-admin-favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16"
href="/static/images/branding/gb-admin-favicon-16x16.png">
<link rel="mask-icon"
href="/static/images/branding/gb-admin-safari-pinned-tab.svg"
color="#5bbad5">
{% endblock %}
2 changes: 1 addition & 1 deletion gobotany/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ def get_version():
"""Simple function to return a version number. Hardcoded for the
moment. """

return "4.1"
return "4.2"
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from setuptools import find_packages

requirements = [
'django==4.0',
'django==4.0.10',

'Pillow==10.3.0',
'bleach==5.0.1',
Expand Down Expand Up @@ -40,6 +40,7 @@

'django-registration==3.3',
'django-user-accounts==3.2.0', # for changing email addresses
# (directory is /account/)

# For storing images on S3.

Expand Down

0 comments on commit 274529e

Please sign in to comment.