[Git][noosfero/noosfero][master] 2 commits: Refactored view code generation for gallery_block

Rodrigo Souto gitlab at mg.gitlab.com
Mon Apr 11 22:39:25 BRT 2016


Rodrigo Souto pushed to branch master at Noosfero / noosfero


Commits:
57b07ea3 by Rafael Reggiani Manzo at 2016-04-11T16:20:23-03:00
Refactored view code generation for gallery_block

The HTMl generation has been removed from the model and should get
handled by BoxesHelper.

There were no tests for the view, so some basic ones were added to
assure this refactor has preserved some basic bahaviour.

- - - - -
8d38c778 by Rodrigo Souto at 2016-04-12T01:39:14+00:00
Merge branch 'refactor_gallery_block_block_plugin_html_generation' into 'master'

Refactored view code generation for gallery_block

The HTMl generation has been removed from the model and should get
handled by BoxesHelper.

There were no tests for the view, so some basic ones were added to
assure this refactor has preserved some basic bahaviour.

See merge request !850
- - - - -


3 changed files:

- plugins/gallery_block/lib/gallery_block.rb
- plugins/gallery_block/test/unit/gallery_block_test.rb
- plugins/gallery_block/views/gallery_block.html.erb → plugins/gallery_block/views/blocks/gallery.html.erb


Changes:

=====================================
plugins/gallery_block/lib/gallery_block.rb
=====================================
#<Gitlab::Git::Diff:0x007fb614a5b780>

=====================================
plugins/gallery_block/test/unit/gallery_block_test.rb
=====================================
#<Gitlab::Git::Diff:0x007fb614a5b280>

=====================================
plugins/gallery_block/views/gallery_block.html.erb → plugins/gallery_block/views/blocks/gallery.html.erb
=====================================
#<Gitlab::Git::Diff:0x007fb614a5ad80>


View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/b7e8d430035a3c2fc03a6a5159be0ba7b44da838...8d38c7787ae7daa0c2d0b885bb26b6549f035607
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20160412/c8fbce59/attachment-0001.html>


More information about the Noosfero-dev mailing list