mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-05 04:20:15 +01:00
refactor application.rb further and migrate recurring todos
next: get tests for recurring todos
This commit is contained in:
parent
484356fe07
commit
cafa774b4c
33 changed files with 688 additions and 571 deletions
|
|
@ -1,9 +1,10 @@
|
|||
remove_deleted_project();
|
||||
ProjectListPage.update_all_states_count(<%=@active_projects_count%>, <%=@hidden_projects_count%>, <%=@completed_projects_count%>)
|
||||
ProjectListPage.show_or_hide_all_state_containers(<%= @show_active_projects %>, <%= @show_hidden_projects %>, <%= @show_completed_projects %>);
|
||||
page_notify('notice', "Deleted project '<%= @project.name%>'", 5);
|
||||
set_page_badge(<%=@down_count%>);
|
||||
TracksPages.page_notify('notice', "Deleted project '<%= @project.name%>'", 5);
|
||||
TracksPages.set_page_badge(<%=@down_count%>);
|
||||
|
||||
/* TODO: refactor and move function to application.js */
|
||||
function remove_deleted_project() {
|
||||
$('div#<%=dom_id(@project, "container")%>').slideUp(1000,
|
||||
function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue