improved shared database import ui

This commit is contained in:
wvengen 2014-02-24 14:07:03 +01:00
parent 950480941a
commit 0014435663
8 changed files with 97 additions and 61 deletions

View file

@ -0,0 +1,4 @@
// update shared article button on create, so that the article will be shown as imported
// reloading the list doesn't work because it breaks paging :(
$('#shared_article_<%= article.shared_article.id %> .actions')
.html('<%= j content_tag(:i, I18n.t('articles.import_search_results.already_imported'), class: 'icon-ok')%>');