Hello! Thanks to the developers and maintainers of this great module!

I would love to be able to theme unpublished term pages by adding a class like 'term-unpublished' to one of the wrapper elements (maybe "body", "div#block-system-main", or "div#block-system-main .content").

Thanks!

Comments

martins.bertins’s picture

Assigned: Unassigned » martins.bertins

Thanks for the appreciation!
It's a great idea to add the classes "term-published", "term-unpublished" to the page body. I'm sick at the moment so I will work on this as soon as I get better.

Thanks for the input to make the module even better!

areikiera’s picture

Thank you so much! Feel better!

martins.bertins’s picture

Status: Active » Needs review

Fix commited. 4bc8af3
Depending on term status class "term-published" or "term-unpublished" is added to body.

areikiera’s picture

Status: Needs review » Reviewed & tested by the community

Glad you're feeling better, and thank you so much for this change!

Works perfectly for me! Changing to RTBC.

martins.bertins’s picture

Status: Reviewed & tested by the community » Closed (fixed)