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

Changed button to text #4067

Merged
merged 3 commits into from
Oct 21, 2019
Merged

Changed button to text #4067

merged 3 commits into from
Oct 21, 2019

Conversation

drakeloud
Copy link
Contributor

Screen Shot 2019-10-19 at 11 58 32 AM

Updated the trashcan icon to delete text.

Addresses feature #4027

Comment on lines 74 to 76
.paper-dialog-buttons .warning.left-align {
margin-right: auto;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move this to hui-edit-views static get styles(), there is a .delete class there that was used for the button, should clean that up and replace with the new styles.

@@ -502,6 +502,7 @@
"common": {
"loading": "Loading",
"cancel": "Cancel",
"delete_view": "Delete View",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be in common but in the section of lovelace and the views, there actually already is a key for delete there.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bramkragten I didn't realize those existed in en.json.

@drakeloud
Copy link
Contributor Author

@bramkragten I have updated the PR with the styles being moved, and changing what the translation values are.

@bramkragten bramkragten merged commit 0621218 into home-assistant:dev Oct 21, 2019
@bramkragten bramkragten mentioned this pull request Oct 23, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Jul 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants