diff --git a/geonode/base/forms.py b/geonode/base/forms.py index ab220ceef9a..e3160aa6e48 100644 --- a/geonode/base/forms.py +++ b/geonode/base/forms.py @@ -568,6 +568,8 @@ class Meta: 'users_geolimits', 'groups_geolimits', 'dirty_state' + 'was_approved', + 'was_published' ) diff --git a/geonode/geoapps/templates/apps/app_detail.html b/geonode/geoapps/templates/apps/app_detail.html index c800682c7b4..0149103bbc0 100644 --- a/geonode/geoapps/templates/apps/app_detail.html +++ b/geonode/geoapps/templates/apps/app_detail.html @@ -1,5 +1,6 @@ {% extends "apps/app_base.html" %} {% load i18n %} +{% load l10n %} {% load staticfiles %} {% load dialogos_tags %} {% load pinax_ratings_tags %} @@ -75,7 +76,7 @@

{% trans "Rate this" %} {{ resource.type }}

{% trans 'Average Rating' %}

{% overall_rating resource "geoapp" as geoapp_rating %} {% num_ratings resource as num_votes %} -
({{num_votes}}) +
({{num_votes}}) {% endif %} diff --git a/geonode/layers/templates/layers/layer_detail.html b/geonode/layers/templates/layers/layer_detail.html index 273d6d3bf14..781c6b8f519 100644 --- a/geonode/layers/templates/layers/layer_detail.html +++ b/geonode/layers/templates/layers/layer_detail.html @@ -1,5 +1,6 @@ {% extends "layers/layer_base.html" %} {% load i18n %} +{% load l10n %} {% load staticfiles %} {% load dialogos_tags %} {% load pinax_ratings_tags %} @@ -249,7 +250,7 @@

{% trans "Rate this layer" %}

{% trans 'Average Rating' %}

{% overall_rating resource "layer" as layer_rating %} {% num_ratings resource as num_votes %} -
({{num_votes}}) +
({{num_votes}}) {% endif %} diff --git a/geonode/maps/templates/maps/map_detail.html b/geonode/maps/templates/maps/map_detail.html index f6d69c3919b..a9fa6692c41 100644 --- a/geonode/maps/templates/maps/map_detail.html +++ b/geonode/maps/templates/maps/map_detail.html @@ -1,5 +1,6 @@ {% extends "maps/map_base.html" %} {% load i18n %} +{% load l10n %} {% load staticfiles %} {% load dialogos_tags %} {% load pinax_ratings_tags %} @@ -80,7 +81,7 @@

{% trans "Rate this Map" %}

{% trans 'Average Rating' %}

{% overall_rating resource "map" as map_rating %} {% num_ratings resource as num_votes %} -
({{num_votes}}) +
({{num_votes}}) {% endif %}