Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move user-facing string to template #26815

Merged
merged 7 commits into from Oct 6, 2022

Conversation

blag
Copy link
Contributor

@blag blag commented Oct 1, 2022

This small PR just tweaks a single function, the single place it's called, and the template. It helps to separate out user-facing strings into templates for better MVC, and more concretely, for possible language translations in the future.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@boring-cyborg boring-cyborg bot added area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues labels Oct 1, 2022
airflow/www/templates/airflow/dags.html Outdated Show resolved Hide resolved
airflow/models/dag.py Outdated Show resolved Hide resolved
blag and others added 4 commits October 3, 2022 14:23
Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
@uranusjr uranusjr changed the title Move a user-facing string to a template for better model-view separation Move user-facing string to template Oct 6, 2022
@uranusjr uranusjr merged commit bab6dbe into apache:main Oct 6, 2022
@uranusjr uranusjr deleted the move-string-to-template branch October 6, 2022 06:04
@blag
Copy link
Contributor Author

blag commented Oct 10, 2022

@uranusjr Thanks for the merge! 😄

@ephraimbuddy ephraimbuddy added the type:misc/internal Changelog: Misc changes that should appear in change log label Oct 18, 2022
@ephraimbuddy ephraimbuddy added this to the Airflow 2.4.2 milestone Oct 18, 2022
ephraimbuddy pushed a commit that referenced this pull request Oct 18, 2022
Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
(cherry picked from commit bab6dbe)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues type:misc/internal Changelog: Misc changes that should appear in change log
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants