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 2022/03/17 19:54:55 UTC

[GitHub] [airflow] ashb commented on a change in pull request #22272: Add map_index support to all task instance-related views

ashb commented on a change in pull request #22272:
URL: https://github.com/apache/airflow/pull/22272#discussion_r829447325



##########
File path: airflow/www/templates/airflow/task_instance.html
##########
@@ -27,23 +27,33 @@
   <h4>
     <span class="text-muted">Task Instance:</span> <span>{{ task_id }}</span>
     <span class="text-muted">at</span> <time datetime="{{ execution_date }}">{{ execution_date }}</time>
+    {% if map_index and map_index != -1 %}

Review comment:
       I've been testing this by hacking `ti.map_index=5` in the `def task` in the view (the task instance details view)




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

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

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