This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v1-10-test by this push:
new bb34c05 fixup! [AIRFLOW-3900] Error on undefined template variables
in unit tests. (#4719)
bb34c05 is described below
commit bb34c057244720cf25d1745297b1d89da5c8f85c
Author: Kaxil Naik <[email protected]>
AuthorDate: Sun May 10 12:18:39 2020 +0100
fixup! [AIRFLOW-3900] Error on undefined template variables in unit tests.
(#4719)
---
airflow/www_rbac/templates/airflow/dag.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airflow/www_rbac/templates/airflow/dag.html
b/airflow/www_rbac/templates/airflow/dag.html
index 97338b0..c10e293 100644
--- a/airflow/www_rbac/templates/airflow/dag.html
+++ b/airflow/www_rbac/templates/airflow/dag.html
@@ -33,7 +33,7 @@
{% else %}
<input id="pause_resume" dag_id="{{ dag.dag_id }}" type="checkbox" {{
"checked" if not dag.is_paused else "" }} data-toggle="toggle" data-size="mini"
method="post">
<span style="color:#aaa;">DAG:</span> <span>{{ dag.dag_id }}</span>
- <small class="text-muted"> {{ dag.description_unicode[0:150] + '...'
if dag.description_unicode and dag.description_unicode|length > 150 else
dag.description_unicode|default('', true) }} </small>
+ <small class="text-muted"> {{ dag.description[0:150] + '...' if
dag.description and dag.description|length > 150 else
dag.description|default('', true) }} </small>
{% endif %}
{% if root %}
<span style="color:#aaa;">ROOT:</span> <span>{{ root }}</span>