From 1b4b38aef2853a6e5a0c136917d381319a9954b6 Mon Sep 17 00:00:00 2001 From: Gloria Gu Date: Wed, 8 Oct 2014 15:33:58 -0700 Subject: [PATCH] fixed errors when run_tests.sh --makemessages The change Ibf2036d5bbc4c478fcb912f6335104356e8f1317 causes run_tests.sh --makemessages failure. Make the errors go way. Closes-Bug: #1379054 Change-Id: I66b68099561bdd451321c7c31391f30827121e7c --- .../clusters/templates/data_processing.clusters/_details.html | 2 +- .../project/stacks/templates/stacks/_resource_overview.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openstack_dashboard/dashboards/project/data_processing/clusters/templates/data_processing.clusters/_details.html b/openstack_dashboard/dashboards/project/data_processing/clusters/templates/data_processing.clusters/_details.html index e0aeeedb7..ec7573d14 100644 --- a/openstack_dashboard/dashboards/project/data_processing/clusters/templates/data_processing.clusters/_details.html +++ b/openstack_dashboard/dashboards/project/data_processing/clusters/templates/data_processing.clusters/_details.html @@ -83,7 +83,7 @@
{{ info_key }}
{% for key, val in info_val.items %}
- {% blocktrans %}{{ key }}: {% autoescape off %}{{ val }}{% endautoescape %}{% endblocktrans %} + {% autoescape off %} {% blocktrans %}{{ key }}:{{ val | safe }} {% endblocktrans %} {% endautoescape %}
{% endfor %} {% endfor %} diff --git a/openstack_dashboard/dashboards/project/stacks/templates/stacks/_resource_overview.html b/openstack_dashboard/dashboards/project/stacks/templates/stacks/_resource_overview.html index c2145f928..ccffebb4f 100644 --- a/openstack_dashboard/dashboards/project/stacks/templates/stacks/_resource_overview.html +++ b/openstack_dashboard/dashboards/project/stacks/templates/stacks/_resource_overview.html @@ -39,7 +39,7 @@
{{ resource.updated_time|parse_isotime|timesince_or_never }}
{% trans "Status" %}
- {% blocktrans with resource_status=resource.resource_status|title|replace_underscores resource_status_reason=resource.resource_status_reason % }{{ resource_status }}: {{ resource_status_reason }}{% endblocktrans %} + {% blocktrans with resource_status=resource.resource_status|title|replace_underscores resource_status_reason=resource.resource_status_reason %}{{ resource_status }}: {{ resource_status_reason }}{% endblocktrans %}