i tried to display the number of open todo of meeting-notes in the page property list.
i created a user macro to display the number of open todos and inserted it in the page property.
<ac:structured-macro ac:name="html">
<ac:plain-text-body><![CDATA[<span id="how-many-unchecked"></span>
<script type="text/javascript">
AJS.toInit(function() {
var count = AJS.$('li[data-inline-task-id]').not(".checked").length;
if (count > 0) {
AJS.$("#how-many-unchecked").text(count);
}
});
</script>]]>
</ac:plain-text-body>
</ac:structured-macro>
then I inserted the user macro in the side property of the meeting-notes. It displayed the number of open todos as desired.
Unfortunately the display in the page property list does not work. This variant does not display the number of todos of the page from the page property list, but the number of todos of the page on which the page property list is displayed.
Is there a way to display the number of open todos on the page property list?
Many thanks for good ideas.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.