Sha256: 6abbee226541597c03bfa1fe2420a497a9f18278034a3b72f38c683722ffbb1d
Contents?: true
Size: 839 Bytes
Versions: 61
Compression:
Stored size: 839 Bytes
Contents
- if(current_filter_is?('all')) $('li.translation_key[data-key-id=' + "#{@translation.key.id}" + ']').children('div').removeClass('badge-warning').addClass('badge-success'); #{@translation_already_accepted} - if(!@translation_already_accepted) decrementPending(); incrementTranslated(); - elsif(current_filter_is?('pending')) incrementTranslated(); decrementPending(); moveToNextKey($('#translation_id_' + "#{@translation.id}").attr('data-key-id')); // TODO USE i18n for text // changing existing unaccept to accept $('button.unaccept_translation').addClass('accept_translation').removeClass('unaccept_translation').text('Accept'); // TODO USE i18n for text $('#translation_id_' + "#{@translation.id}").find('.accept_translation').removeClass('accept_translation').addClass('unaccept_translation').text('Unaccept');
Version data entries
61 entries across 61 versions & 2 rubygems