noosfero | Improve some blocks in order to make redeoceb theme responsive. (!1428)

Rodrigo Souto gitlab at mg.gitlab.com
Thu Apr 19 16:41:51 BRT 2018


Rodrigo Souto started a new discussion on app/views/blocks/footers/communities.html.erb:

>  <% if block.owner.kind_of?(Profile) || block.owner.kind_of?(Environment) %>
>    <% if block.owner.kind_of?(Profile) %>
> -    <%= link_to font_awesome('angle-double-right', _('View all')), {:profile => block.owner.identifier, :controller => 'profile', :action => 'communities'}, :class => 'view-all' %>
> +    <%= render partial: 'blocks/footers/view_all', locals: {:profile => block.owner.identifier, :controller => 'profile', :action => 'communities', :block_elements => block.profile_list} %>

Ok, here I see that the name of the variable should be `owner` instead of `profile`.

---
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1428#note_69367980
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20180419/3ddf21c6/attachment.html>


More information about the Noosfero-dev mailing list