mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-01 23:08:49 +01:00
5 lines
230 B
Text
5 lines
230 B
Text
<%- if @saved -%>
|
|
$('div#line_todo_<%= @todo.id %> a.star_item img').toggleClass('starred');
|
|
<%- else -%>
|
|
TracksPages.page_notify('error', '<%= t('todos.error_starring', :description => @todo.description) %>', 8);
|
|
<%- end -%>
|