mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-12 15:42:37 +01:00
add keyboard shortcuts and make todos selectable useing j and k
This commit is contained in:
parent
b725b7b137
commit
db29b84f69
17 changed files with 217 additions and 99 deletions
10
app/views/todos/_empty_message_container.html.erb
Normal file
10
app/views/todos/_empty_message_container.html.erb
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<%
|
||||
title_param ||= ""
|
||||
hidden_class = show ? "" : " hide"
|
||||
%>
|
||||
<div id="no_todos_in_view" class="container <%=container_name + hidden_class%>">
|
||||
<h4><%= t("todos.no_actions.title", :param=>title_param) %></h4>
|
||||
<div class="message">
|
||||
<p><%= t("todos.no_actions.#{container_name}", :param=>title_param)%></p>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue