[Git][noosfero/noosfero][master] 3 commits: If article parent is highlighted, the article will be highlighted

Rodrigo Souto gitlab at mg.gitlab.com
Thu Nov 30 13:26:13 BRST 2017


Rodrigo Souto pushed to branch master at Noosfero / noosfero


Commits:
239d6403 by Victor Moura at 2017-11-09T10:48:06-02:00
If article parent is highlighted, the article will be highlighted

Signed-off-by: Victor Moura <victor_cmoura at hotmail.com>
Signed-off-by: Arthur Assis <arthur120496 at gmail.com>

- - - - -
f2e1b759 by Victor Moura at 2017-11-29T07:57:52-02:00
Default highlight value is the same as the current parents' highlighted value

- - - - -
ac74e586 by Rodrigo Souto at 2017-11-30T15:25:59+00:00
Merge branch 'article_highlighting' into 'master'

If article parent is highlighted, the article will be highlighted

Closes #292

See merge request noosfero/noosfero!1351
- - - - -


1 changed file:

- app/controllers/my_profile/cms_controller.rb


Changes:

=====================================
app/controllers/my_profile/cms_controller.rb
=====================================
--- a/app/controllers/my_profile/cms_controller.rb
+++ b/app/controllers/my_profile/cms_controller.rb
@@ -147,6 +147,7 @@ class CmsController < MyProfileController
       @article.parent = parent
       @article.published = parent.published
       @article.show_to_followers = parent.show_to_followers
+      @article.highlighted = parent.highlighted
       @parent_id = parent.id
     end
 



View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/06a8cfc11f6337d9892cf9e39ea943911251f7ad...ac74e5863601cad94aa874577003a01ca4fa1d28

---
View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/06a8cfc11f6337d9892cf9e39ea943911251f7ad...ac74e5863601cad94aa874577003a01ca4fa1d28
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/20171130/9615927c/attachment.html>


More information about the Noosfero-dev mailing list