This is an automated email from the ASF dual-hosted git repository. kaxilnaik pushed a commit to branch v1-10-test in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v1-10-test by this push: new fd3902f Add a tip to trigger DAG screen (#9049) fd3902f is described below commit fd3902f5a4dd69f47f171769621e56a255200d72 Author: Kamil BreguĊa <mik-...@users.noreply.github.com> AuthorDate: Thu May 28 13:40:51 2020 +0200 Add a tip to trigger DAG screen (#9049) (cherry-picked from 52c7862) --- airflow/www/templates/airflow/trigger.html | 3 +++ airflow/www_rbac/templates/airflow/trigger.html | 3 +++ 2 files changed, 6 insertions(+) diff --git a/airflow/www/templates/airflow/trigger.html b/airflow/www/templates/airflow/trigger.html index 483981e..9eb9c78 100644 --- a/airflow/www/templates/airflow/trigger.html +++ b/airflow/www/templates/airflow/trigger.html @@ -30,6 +30,9 @@ <label for="conf">Configuration JSON (Optional)</label> <textarea class="form-control" name="conf">{{ conf }}</textarea> </div> + <p> + To access configuration in your DAG use <code>{{ '{{' }} dag_run.conf {{ '}}' }}</code>. + </p> <input class="btn btn-primary" type="submit" value="Trigger"/> <button class="btn" onclick="location.href = '{{ origin }}'; return false">bail.</button> </form> diff --git a/airflow/www_rbac/templates/airflow/trigger.html b/airflow/www_rbac/templates/airflow/trigger.html index ee4ecc8..73f95c3 100644 --- a/airflow/www_rbac/templates/airflow/trigger.html +++ b/airflow/www_rbac/templates/airflow/trigger.html @@ -30,6 +30,9 @@ <label for="conf">Configuration JSON (Optional)</label> <textarea class="form-control" name="conf">{{ conf }}</textarea> </div> + <p> + To access configuration in your DAG use <code>{{ '{{' }} dag_run.conf {{ '}}' }}</code>. + </p> <input class="btn btn-primary" type="submit" value="Trigger"/> <button class="btn" onclick="location.href = '{{ origin }}'; return false">bail.</button> </form>