Fixed admin, orders, wiki views. Converted all erb to haml.
This commit is contained in:
parent
699fb9b233
commit
552c553b77
169 changed files with 1158 additions and 1307 deletions
|
|
@ -1,3 +0,0 @@
|
|||
$.fancybox.close();
|
||||
$('#result_table').
|
||||
prepend('<%= escape_javascript(render(partial: 'finance/balancing/order_article_result', locals: {order_article: @order_article}))%>');
|
||||
3
app/views/finance/order_articles/create.js.haml
Normal file
3
app/views/finance/order_articles/create.js.haml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
$.fancybox.close();
|
||||
$('#result_table').
|
||||
prepend('#{escape_javascript(render(partial: 'finance/balancing/order_article_result', locals: {order_article: @order_article}))}');
|
||||
|
|
@ -1 +0,0 @@
|
|||
$('#order_article_<%= @order_article.id %>, #group_order_articles_<%= @order_article.id %>').hide();
|
||||
1
app/views/finance/order_articles/destroy.js.haml
Normal file
1
app/views/finance/order_articles/destroy.js.haml
Normal file
|
|
@ -0,0 +1 @@
|
|||
$('#order_article_#{@order_article.id}, #group_order_articles_#{@order_article.id}').hide();
|
||||
|
|
@ -1 +0,0 @@
|
|||
$.fancybox('<%= escape_javascript(render("edit")) %>');
|
||||
1
app/views/finance/order_articles/edit.js.haml
Normal file
1
app/views/finance/order_articles/edit.js.haml
Normal file
|
|
@ -0,0 +1 @@
|
|||
$.fancybox('#{escape_javascript(render("edit"))}');
|
||||
|
|
@ -1 +0,0 @@
|
|||
$.fancybox('<%= escape_javascript(render("new")) %>');
|
||||
1
app/views/finance/order_articles/new.js.haml
Normal file
1
app/views/finance/order_articles/new.js.haml
Normal file
|
|
@ -0,0 +1 @@
|
|||
$.fancybox('#{escape_javascript(render("new"))}');
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
$.fancybox.close();
|
||||
$('#order_article_<%= @order_article.id %>').
|
||||
html('<%= escape_javascript(render(partial: 'finance/balancing/order_article', locals: {order_article: @order_article})) %>');
|
||||
3
app/views/finance/order_articles/update.js.haml
Normal file
3
app/views/finance/order_articles/update.js.haml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
$.fancybox.close();
|
||||
$('#order_article_#{@order_article.id}').
|
||||
html('#{escape_javascript(render(partial: 'finance/balancing/order_article', locals: {order_article: @order_article}))}');
|
||||
Loading…
Add table
Add a link
Reference in a new issue