mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-23 23:54:07 +01:00
fix #1102 add spinner to autocomplete and...
* get public/local variables correct for all js * get i18n string in toggle_star for todos Signed-off-by: Reinier Balt <lrbalt@gmail.com>
This commit is contained in:
parent
e278e3d5ce
commit
24ef0ced32
10 changed files with 94 additions and 99 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<% if @saved -%>
|
||||
<%- if @saved -%>
|
||||
$('div#line_todo_<%= @todo.id %> a.star_item img').toggleClass('starred_todo').toggleClass('unstarred_todo');
|
||||
<% else -%>
|
||||
TracksPages.page_notify('error', "Could not toggle the star of this todo", 5);
|
||||
<% end -%>
|
||||
<%- else -%>
|
||||
TracksPages.page_notify('error', '<%= t('todos.error_starring', :description => @todo.description) %>', 8);
|
||||
<%- end -%>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue