[Git][noosfero/noosfero][cherry-pick-9e05ff83] Merge branch 'block-help-menu' into 'master'

Rodrigo Souto gitlab at mg.gitlab.com
Fri Oct 28 15:55:27 BRST 2016


Rodrigo Souto pushed to branch cherry-pick-9e05ff83 at Noosfero / noosfero


Commits:
e47ade9f by Rodrigo Souto at 2016-10-28T17:54:32+00:00
Merge branch 'block-help-menu' into 'master'

block-design: remove redundant close button on block help

See merge request !1036
- - - - -


1 changed file:

- app/helpers/boxes_helper.rb


Changes:

=====================================
app/helpers/boxes_helper.rb
=====================================
--- a/app/helpers/boxes_helper.rb
+++ b/app/helpers/boxes_helper.rb
@@ -285,7 +285,7 @@ module BoxesHelper
     end
 
     if block.respond_to?(:help)
-      buttons << modal_inline_icon(:help, _('Help on this block'), {}, "#help-on-box-#{block.id}") << content_tag('div', content_tag('h2', _('Help')) + content_tag('div', block.help.html_safe, :style => 'margin-bottom: 1em;') + modal_close_button(_('Close')), :style => 'display: none;', :id => "help-on-box-#{block.id}")
+      buttons << modal_inline_icon(:help, _('Help on this block'), {}, "#help-on-box-#{block.id}") << content_tag('div', content_tag('h2', _('Help')) + content_tag('div', block.help.html_safe, :style => 'margin-bottom: 1em;'), :style => 'display: none;', :id => "help-on-box-#{block.id}")
     end
 
     if block.embedable?



View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/e47ade9f2447eacffad035a4ea963aace27ccd5f
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20161028/ef2f6bd0/attachment.html>


More information about the Noosfero-dev mailing list