noosfero | Add major changes on Noosfero interface (includes responsivity) (!1329)
Gabriel Silva
gitlab at mg.gitlab.com
Tue Feb 27 15:37:42 BRT 2018
Gabriel Silva started a new discussion on app/controllers/public/profile_controller.rb:
> page.insert_html :bottom, 'profile-wall-activities-comments-'+params[:activity],
> :partial => 'profile_scrap', :collection => activity.replies.paginate(:per_page => comments_per_page, :page => comment_page), :as => :scrap
>
> - if no_more_pages
> - page.remove 'profile-wall-activities-comments-more-'+params[:activity]
> - else
> - page.replace_html 'profile-wall-activities-comments-more-'+params[:activity],
> - :partial => 'more_replies', :locals => {:activity => activity, :comment_page => comment_page}
> - end
> + page.remove 'profile-wall-activities-comments-more-'+params[:activity] if comment_page == 1
any specific reason to modify the content on the fly?
Can't we use a custom template?
---
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1329#note_60863518
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/20180227/b3f0599f/attachment.html>
More information about the Noosfero-dev
mailing list