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 +0,0 @@
|
|||
$.fancybox('<%= escape_javascript(render("edit_note")) %>');
|
||||
1
app/views/finance/balancing/edit_note.js.haml
Normal file
1
app/views/finance/balancing/edit_note.js.haml
Normal file
|
|
@ -0,0 +1 @@
|
|||
$.fancybox('#{escape_javascript(render("edit_note"))}');
|
||||
|
|
@ -1 +0,0 @@
|
|||
$('#results').html('<%= escape_javascript(render(partial: balancing_view_partial, locals: {order: @order})) %>');
|
||||
1
app/views/finance/balancing/new.js.haml
Normal file
1
app/views/finance/balancing/new.js.haml
Normal file
|
|
@ -0,0 +1 @@
|
|||
$('#results').html('#{escape_javascript(render(partial: balancing_view_partial, locals: {order: @order}))}');
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
$.fancybox.close();
|
||||
$('#note').html('<%= escape_javascript(simple_format(@order.note)) %>');
|
||||
2
app/views/finance/balancing/update_note.js.haml
Normal file
2
app/views/finance/balancing/update_note.js.haml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
$.fancybox.close();
|
||||
$('#note').html('#{escape_javascript(simple_format(@order.note))}');
|
||||
Loading…
Add table
Add a link
Reference in a new issue