added pagination gem, many fixes
commit363055997ea801c751e154229f47aba3f987ec4c
authorpqauvsum <pqauvsum@posteo.cz>
Sat, 13 Sep 2014 20:52:40 +0000 (13 22:52 +0200)
committerpqauvsum <pqauvsum@posteo.cz>
Sat, 13 Sep 2014 20:52:40 +0000 (13 22:52 +0200)
tree4a00888d72ddb8360948dba0e54945c013113835
parentbd53d4756916a06f09b861fdca53498e1f1c9f06
added pagination gem, many fixes

- BUGFIX: improved :dividend filter, droped hardwired limit
- smr_humanize helper for humanizing all sorts of numbers
- integration test for Blog and Figures
- PATCH: merged pagination
- BUGFIX: figures row merge result must be carried into next loop, else
  its lost
- fixed user test about working with documents
23 files changed:
gui/Gemfile
gui/app/controllers/objects/figurevar_controller.rb
gui/app/controllers/objects/portfolio_controller.rb
gui/app/controllers/objects/stock_controller.rb
gui/app/helpers/application_helper.rb
gui/app/views/assets/index.html.erb
gui/app/views/cashflow/index.html.erb
gui/app/views/documents/index.html.erb
gui/app/views/objects/figurevar/index.html.erb
gui/app/views/objects/portfolio/index.html.erb
gui/app/views/objects/stock/index.html.erb
gui/app/views/positions/show.html.erb
gui/app/views/quoterecords/index.html.erb
gui/config/locales/en.yml
gui/lib/smr_asset.rb
gui/lib/smr_cashflowlog.rb
gui/lib/smr_document.rb
gui/lib/smr_figures.rb
gui/lib/smr_quoterecords.rb
gui/public/stylesheets/all.css
gui/test/fixtures/figure_data.yml
gui/test/fixtures/figure_var.yml
gui/test/integration/demo1_user_session_test.rb