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/04 20:07:46 UTC

[GitHub] [airflow] ryanahamilton commented on a change in pull request #11815: Render k8s yaml for tasks via the Airflow UI

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



##########
File path: airflow/www/templates/airflow/dag.html
##########
@@ -132,16 +132,21 @@ <h4 class="modal-title" id="taskInstanceModalLabel">
             <hr>
           </div>
           <a id="btn_task" class="btn btn-sm" data-base-url="{{ url_for('Airflow.task') }}">
-            Task Instance Details
+            Instance Details
           </a>
-          <a id="btn_rendered" class="btn btn-sm" data-base-url="{{ url_for('Airflow.rendered') }}">
+          <a id="btn_rendered" class="btn btn-sm" data-base-url="{{ url_for('Airflow.rendered_templates') }}">
             Rendered
           </a>
-          <a id="btn_ti" class="btn btn-sm" data-base-url="{{ url_for('TaskInstanceModelView.list') }}">
-            Task Instances
-          </a>
+          {% if conf_core_executor == 'KubernetesExecutor' %}

Review comment:
       I wrote a helper that handled this—this appears to be an old version of the code. Was possibly lost in the squash. I'll see about salvaging it—might have to rewrite. 😞 




----------------------------------------------------------------
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