Update ProTip copy to be dynamic

pull/1418/head
Nishiki Liu 4 years ago
parent ee66e4c139
commit 08f78601e6

@ -1,10 +1,10 @@
app.templates.tipKeyNav = """ app.templates.tipKeyNav = () -> """
<p class="_notif-text"> <p class="_notif-text">
<strong>ProTip</strong> <strong>ProTip</strong>
<span class="_notif-info">(click to dismiss)</span> <span class="_notif-info">(click to dismiss)</span>
<p class="_notif-text"> <p class="_notif-text">
Hit <code class="_label">&darr;</code> <code class="_label">&uarr;</code> <code class="_label">&larr;</code> <code class="_label">&rarr;</code> to navigate the sidebar.<br> Hit #{if app.settings.cache.arrowScroll then '<code class="_label">shift</code> +' else ''} <code class="_label">&darr;</code> <code class="_label">&uarr;</code> <code class="_label">&larr;</code> <code class="_label">&rarr;</code> to navigate the sidebar.<br>
Hit <code class="_label">space / shift space</code>, <code class="_label">alt &darr;/&uarr;</code> or <code class="_label">shift &darr;/&uarr;</code> to scroll the page. Hit <code class="_label">space / shift space</code>#{if app.settings.cache.arrowScroll then ' or <code class="_label">&darr;/&uarr;</code>' else ', <code class="_label">alt &darr;/&uarr;</code> or <code class="_label">shift &darr;/&uarr;</code>'} to scroll the page.
<p class="_notif-text"> <p class="_notif-text">
<a href="/help#shortcuts" class="_notif-link">See all keyboard shortcuts</a> <a href="/help#shortcuts" class="_notif-link">See all keyboard shortcuts</a>
""" """

Loading…
Cancel
Save