You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/11/09 14:11:47 UTC

[GitHub] [airflow] ryanahamilton commented on a change in pull request #11121: Filter dags by owner

ryanahamilton commented on a change in pull request #11121:
URL: https://github.com/apache/airflow/pull/11121#discussion_r519841884



##########
File path: airflow/www/templates/airflow/dags.html
##########
@@ -125,7 +125,15 @@ <h2>DAGs</h2>
                   </div>
                 </td>
                 {# Column 3: Dag Owners #}
-                <td>{{ dag.owners }}</td>
+                <td>
+                  {% for owner in dag.owners.split(",") %}
+                  <a class="label label-default"
+                     href="?search={{ owner | trim }}"
+                     style="margin: 3px;">

Review comment:
       The tiniest adjustment will keep the left side of this left-aligned column just right:
   ```suggestion
                        style="margin: 3px 6px 3px 0;">
   ```




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org