Skip to content

Reload buttons#4194

Merged
balloob merged 2 commits into
home-assistant:devfrom
ludeeus:reload-button
Nov 8, 2019
Merged

Reload buttons#4194
balloob merged 2 commits into
home-assistant:devfrom
ludeeus:reload-button

Conversation

@ludeeus
Copy link
Copy Markdown
Member

@ludeeus ludeeus commented Nov 8, 2019

Motivation:

"Reload core" was confusing for most users, so this changes the base translation of it to "Reload location & customize"

That by itself looked weird https://i.ibb.co/gvr6w5m/image.png

So in addition to that, this PR gives each button a card-action div.
The test to check if the button should be hidden was moved where applicable from the button to a template statement, so it would not create empty card-action div's

Result:

image

@balloob balloob merged commit d284d53 into home-assistant:dev Nov 8, 2019
@ludeeus ludeeus deleted the reload-button branch November 9, 2019 16:53
@bramkragten bramkragten mentioned this pull request Nov 14, 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.

3 participants