You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by tu...@apache.org on 2020/06/25 07:32:19 UTC
[airflow] branch master updated: Replace "bail" with "cancel" in
Web UI (#9499)
This is an automated email from the ASF dual-hosted git repository.
turbaszek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/master by this push:
new 414cee8 Replace "bail" with "cancel" in Web UI (#9499)
414cee8 is described below
commit 414cee8ef7a64956af7d934044683fece96fe2f1
Author: Ben Limmer <be...@benlimmer.com>
AuthorDate: Thu Jun 25 01:31:33 2020 -0600
Replace "bail" with "cancel" in Web UI (#9499)
"Bail" is a word that's unlikely to be widely understood by non-native English
speakers. "Cancel" is used much more frequently in sofwtare interfaces and is likely to be more
understood.
---
airflow/www/templates/airflow/confirm.html | 2 +-
airflow/www/templates/airflow/trigger.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/airflow/www/templates/airflow/confirm.html b/airflow/www/templates/airflow/confirm.html
index 5f44f40..5d1b39d 100644
--- a/airflow/www/templates/airflow/confirm.html
+++ b/airflow/www/templates/airflow/confirm.html
@@ -35,7 +35,7 @@
<input type="hidden" name="{{ name }}" value="{{ val }}">
{% endfor %}
<input class="btn btn-primary" type="submit" value="OK!">
- <button class="btn" onclick="window.history.back(); return false">bail.</button>
+ <button class="btn" onclick="window.history.back(); return false">Cancel</button>
</form>
<br>
<br>
diff --git a/airflow/www/templates/airflow/trigger.html b/airflow/www/templates/airflow/trigger.html
index 73f95c3..573edd7 100644
--- a/airflow/www/templates/airflow/trigger.html
+++ b/airflow/www/templates/airflow/trigger.html
@@ -34,6 +34,6 @@
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>
+ <button class="btn" onclick="location.href = '{{ origin }}'; return false">Cancel</button>
</form>
{% endblock %}