Skip to content

Commit ec24c99

Browse files
authored
[Fix #12517] Update layer to dataset for pinax notification (#12518)
* Update pinax dataset template
1 parent 285a5d2 commit ec24c99

File tree

12 files changed

+5
-5
lines changed

12 files changed

+5
-5
lines changed

geonode/templates/pinax/notifications/layer_approved/full.txt renamed to geonode/templates/pinax/notifications/dataset_approved/full.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{% load i18n %}
22
{% trans "The following dataset was approved" %} by a Manager or Staff member:<br/>
33
<strong>{{ resource.title }}</strong>, {% trans "owned by" %} <i><a href="{{ default_http_protocol }}://{{ current_site }}/people/profile/{{ resource.owner.username }}">{{ resource.owner.username }}</a></i><br/>
4-
{% trans "You can visit the dataset's detail page here" %}: http://{{ current_site }}{% url "layer_detail" resource.service_typename %}
4+
{% trans "You can visit the dataset's detail page here" %}: {{ default_http_protocol }}://{{ current_site }}{{ resource.get_absolute_url }}

geonode/templates/pinax/notifications/layer_approved/short.txt renamed to geonode/templates/pinax/notifications/dataset_approved/short.txt

File renamed without changes.

geonode/templates/pinax/notifications/layer_created/full.txt renamed to geonode/templates/pinax/notifications/dataset_created/full.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{% load i18n %}
22
{% trans "The user" %} <i><a href="{{ default_http_protocol }}://{{ current_site }}/people/profile/{{ resource.owner.username }}">{{ resource.owner.username }}</a></i> {% trans "uploaded the following dataset" %}:<br/>
33
<strong>{{ resource.title }}</strong><br/>
4-
{% trans "You can visit the dataset's detail page here" %}: http://{{ current_site }}{% url "layer_detail" resource.service_typename %}
4+
{% trans "You can visit the dataset's detail page here" %}: {{ default_http_protocol }}://{{ current_site }}{{ resource.get_absolute_url }}

geonode/templates/pinax/notifications/layer_created/short.txt renamed to geonode/templates/pinax/notifications/dataset_created/short.txt

File renamed without changes.

geonode/templates/pinax/notifications/layer_deleted/full.txt renamed to geonode/templates/pinax/notifications/dataset_deleted/full.txt

File renamed without changes.

geonode/templates/pinax/notifications/layer_deleted/short.txt renamed to geonode/templates/pinax/notifications/dataset_deleted/short.txt

File renamed without changes.

geonode/templates/pinax/notifications/layer_published/full.txt renamed to geonode/templates/pinax/notifications/dataset_published/full.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{% load i18n %}
22
{% trans "The following dataset was published" %}:<br/>
33
<strong>{{ resource.title }}</strong>, {% trans "owned by" %} <i><a href="{{ default_http_protocol }}://{{ current_site }}/people/profile/{{ resource.owner.username }}">{{ resource.owner.username }}</a></i><br/>
4-
{% trans "You can visit the dataset's detail page here" %}: http://{{ current_site }}{% url "layer_detail" resource.service_typename %}
4+
{% trans "You can visit the dataset's detail page here" %}: {{ default_http_protocol }}://{{ current_site }}{{ resource.get_absolute_url }}

geonode/templates/pinax/notifications/layer_published/short.txt renamed to geonode/templates/pinax/notifications/dataset_published/short.txt

File renamed without changes.

geonode/templates/pinax/notifications/layer_rated/full.txt renamed to geonode/templates/pinax/notifications/dataset_rated/full.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
{% trans "rated" %} {{ rating }}<br/>
44
{% trans "the following dataset" %}:<br/>
55
{{ resource.title }}, {% trans "owned by" %} {{ resource.owner.username }}<br/>
6-
{% trans "You can visit the dataset's detail page here" %}: http://{{ current_site }}{% url "layer_detail" resource.service_typename %}
6+
{% trans "You can visit the dataset's detail page here" %}: {{ default_http_protocol }}://{{ current_site }}{{ resource.get_absolute_url }}

geonode/templates/pinax/notifications/layer_rated/short.txt renamed to geonode/templates/pinax/notifications/dataset_rated/short.txt

File renamed without changes.

0 commit comments

Comments
 (0)