Difference between revisions of "scheduleDictionaryAP"

From MGH Learn Pathology
Line 1: Line 1:
 
<table class='scheduletable'>
 
<table class='scheduletable'>
 
{{#arraymap:{{scheduleDictionaryAPresident}}|;|TaskAbbreviation|
 
{{#arraymap:{{scheduleDictionaryAPresident}}|;|TaskAbbreviation|
<tr><td bgcolor="#{{#explode:TaskAbbreviation|,|2}}">[[mgh:{{#explode:TaskAbbreviation|,|3}}|{{ColorText|<center>'''{{#tip-text: {{#explode:TaskAbbreviation|,|0}} | {{#ifeq:{{#cargo_query:table=scheduleService|fields=notes|where=TaskAbbrev='{{#explode:TaskAbbreviation|,|0}}'|no html}}|null|{{#explode:TaskAbbreviation|,|0}}|{{#cargo_query:table=scheduleService|fields=notes|where=TaskAbbrev='{{#explode:TaskAbbreviation|,|0}}'|no html}}}}}}</center>||#000000|}}'''</td></tr></center>]]
+
<tr><td bgcolor="#{{#explode:TaskAbbreviation|,|2}}">[[mgh:{{#explode:TaskAbbreviation|,|3}}|{{ColorText|<center>'''{{#tip-text: {{#explode:TaskAbbreviation|,|0}} | {{#ifeq:{{#vardefine:notes|{{#cargo_query:table=scheduleService|fields=notes|where=TaskAbbrev='{{#explode:TaskAbbreviation|,|0}}'|no html}}}}{{#var:notes}}|null|{{#explode:TaskAbbreviation|,|3}}|{{#var:notes}}}}}}</center>||#000000|}}'''</td></tr></center>]]
 
|}}
 
|}}
 
</table>
 
</table>

Revision as of 01:49, June 29, 2022