Skip to content

Commit

Permalink
web: add a subscribe link in the update dialog (#4709)
Browse files Browse the repository at this point in the history
My thinking is that if you're clicking around for updates,
you probably care about tilt news more than most people.
  • Loading branch information
nicks committed Jul 1, 2021
1 parent 2bf5a49 commit 7ea94b4
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions web/src/UpdateDialog.tsx
Expand Up @@ -83,11 +83,18 @@ export default function UpdateDialog(props: props) {
)
} else {
updateEl = (
<div key="no-update">Already on the recommended version! Nice work.</div>
<div key="no-update">
<div>Already on the recommended version!</div>
<div>
If you're impatient for more,
<br />
subscribe to <a href="https://tilt.dev/subscribe">Tilt News</a>.
</div>
</div>
)
}

let title = props.showUpdate ? "Updates Available" : "Tilt Version"
let title = props.showUpdate ? "Updates Available" : "Update Status"
return (
<FloatDialog id="update" title={title} {...props}>
{updateEl}
Expand Down

0 comments on commit 7ea94b4

Please sign in to comment.