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 2021/06/21 19:32:33 UTC
[GitHub] [airflow] bbovenzi commented on a change in pull request #16569: Unpause DAG on manual trigger
bbovenzi commented on a change in pull request #16569:
URL: https://github.com/apache/airflow/pull/16569#discussion_r655650463
##########
File path: airflow/www/templates/airflow/trigger.html
##########
@@ -34,13 +35,19 @@ <h2>Trigger DAG: {{ dag_id }}</h2>
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
<input type="hidden" name="dag_id" value="{{ dag_id }}">
<input type="hidden" name="origin" value="{{ origin }}">
- <div class="form-group">
<label for="conf">Configuration JSON (Optional)</label>
<textarea class="form-control" name="conf" id="json">{{ conf }}</textarea>
</div>
<p>
To access configuration in your DAG use <code>{{ '{{ dag_run.conf }}' }}</code>.
</p>
+ <div class="form-group">
+ <label class="switch-label">
+ <input class="switch-input" name="unpause" id="unpause" type="checkbox" checked>
+ <span class="switch" aria-hidden="true"></span>
+ Unpause DAG when triggered
+ </label>
+ </div>
Review comment:
Currently, trigger.html only has access to `dag_id`, but nothing about the dag itself.
--
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