Issue Details (XML | Word | Printable)

Key: VISIB-16
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: David Peterson
Reporter: Damon Rand
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Confluence Extension: Visibility Plugin

Ability to show-if and hide-if when a page has a label set

Created: 02/Aug/06 09:13 AM   Updated: 02/Mar/07 08:15 AM
Component/s: {hide-if}, {show-if}
Affects Version/s: None
Fix Version/s: 1.5

Time Tracking:
Not Specified


 Description  « Hide
We are using labels to describe what type of {metadata} is available on a page in combination with the {zone} plugin. We want to show a table of metadata if the page we are working with has the label associated with that metadata.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Alberty Pascal added a comment - 05/Sep/06 08:30 PM
I need it too

Could be really great for my actual needs. I can help to implement it ... if not too complex...

Thanks


David Peterson added a comment - 02/Mar/07 08:15 AM
This has been added in the next version. You can specify OR, AND, or NOT relationships using no prefix, "+" or "-", respectively. E.g.
  • Has label "one" OR "two": {show-if:labels=one, two}
  • Has label "one" AND "two": {show-if:labels=+one, +two}
  • Has label "one" but NOT "two": {show-if:labels=one, -two}