add keyboard shortcuts and make todos selectable useing j and k

This commit is contained in:
Reinier Balt 2013-07-01 15:56:54 +02:00
parent b725b7b137
commit db29b84f69
17 changed files with 217 additions and 99 deletions

View 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>