TheBigK
Well-known member
In Kier's ScratchPad Addon, the template scratchpad_index has this line -
	
	
	
		
I'm wondering what exactly is {xen:if '{$notes}', 'hasNotes'} doing?
My Guess: It's inserting class as 'hasNotes' if there are no notes.
Am I right?
				
			
		HTML:
	
	<div id="ScratchpadNoNotes" class="secondaryContent {xen:if '{$notes}', 'hasNotes'}">There are no notes yet.</div>
	I'm wondering what exactly is {xen:if '{$notes}', 'hasNotes'} doing?
My Guess: It's inserting class as 'hasNotes' if there are no notes.
Am I right?