Skip to content

Commit

Permalink
[AIRFLOW-6837] Limit description length of a Dag on HomePage (#7457)
Browse files Browse the repository at this point in the history
  • Loading branch information
pingzh authored Feb 22, 2020
1 parent f90c25e commit 0ce2a55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/www/templates/airflow/dags.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ <h2>DAGs</h2>
<!-- Column 3: Name -->
<td>
<span>
<a href="{{ url_for('Airflow.'+ dag.default_view, dag_id=dag.dag_id) }}" title="{{ dag.description }}">
<a href="{{ url_for('Airflow.'+ dag.default_view, dag_id=dag.dag_id) }}" title="{{ dag.description[0:80] + '...' if dag.description|length > 80 else dag.description }}">
{{ dag.dag_id }}
</a>
</span>
Expand Down

0 comments on commit 0ce2a55

Please sign in to comment.