Difference between revisions of "learn:oncallfaculty"

From MGH Learn Pathology
Line 1: Line 1:
{{#vardefine:HG|{{#cargo_query:tables=scheduleFACservice|fields=StaffAbbrev|where=TaskAbbrev='HG' AND Date='{{#time: Y-m-d|today}}'|format=template|template=text|no html|default=none}}}}{{#vardefine:HGpager|{{#cargo_query:tables=facultyMGH|fields=pageid|where=copath_id='{{#var:HG}}'|fotmat=template|template=text|no html|default=none}}}}{{#vardefine:COAG|{{#cargo_query:tables=scheduleFACservice|fields=StaffAbbrev|where=TaskAbbrev='COAG' AND Date='{{#time: Y-m-d|today}}'|format=template|template=text|no html}}}}{{#vardefine:COAGpager|{{#cargo_query:tables=facultyMGH|fields=pageid|where=copath_id='{{#var:COAG}}'|fotmat=template|template=text|no html|no html}}}}<table class='scheduletable'>
+
{{#css:
 +
/* unvisited link */
 +
a:link {
 +
  color: red;
 +
}
 +
 
 +
/* visited link */
 +
a:visited {
 +
  color: green;
 +
}
 +
}}{{#vardefine:HG|{{#cargo_query:tables=scheduleFACservice|fields=StaffAbbrev|where=TaskAbbrev='HG' AND Date='{{#time: Y-m-d|today}}'|format=template|template=text|no html|default=none}}}}{{#vardefine:HGpager|{{#cargo_query:tables=facultyMGH|fields=pageid|where=copath_id='{{#var:HG}}'|fotmat=template|template=text|no html|default=none}}}}{{#vardefine:COAG|{{#cargo_query:tables=scheduleFACservice|fields=StaffAbbrev|where=TaskAbbrev='COAG' AND Date='{{#time: Y-m-d|today}}'|format=template|template=text|no html}}}}{{#vardefine:COAGpager|{{#cargo_query:tables=facultyMGH|fields=pageid|where=copath_id='{{#var:COAG}}'|fotmat=template|template=text|no html|no html}}}}<table class='scheduletable'>
 
<tr><td bgcolor="#d25278"><center>[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=253668 27364]</center></td></tr>
 
<tr><td bgcolor="#d25278"><center>[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=253668 27364]</center></td></tr>
  
<tr><td bgcolor="#f1b7c0"><center>{{#ifeq:{{#var:COAG}}|JMH|[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=ONEDISP&ID=149652&SRCHNM=Higgins&UseSearchVer=1&NOBACK=0&BEGIN=11&END=20#top {{#var:COAG}}]|[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID={{#var:COAGpager}} {{#var:COAG}}]}}</center></td></tr>
+
<tr><td bgcolor="#f1b7c0"><center>{{#ifeq:{{#var:COAG}}|JMH|{{fontawesome|s|mobile-alt|#6b6b6b}} [https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=ONEDISP&ID=149652&SRCHNM=Higgins&UseSearchVer=1&NOBACK=0&BEGIN=11&END=20#top PPD] {{fontawesome|s|user-md|#6b6b6b}} {{#tip-text:{{#var:COAG}}|{{#cargo_query:tables=facultyMGH|fields=fullname|where=copath_id='{{#var:COAG}}'|no html}}}}|{{fontawesome|s|pager|#6b6b6b}} [https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&PID={{#var:COAGpager}} {{#var:COAGpager}}] {{fontawesome|s|user-md|#6b6b6b}} {{#tip-text:{{#var:COAG}}|{{#cargo_query:tables=facultyMGH|fields=fullname|where=copath_id='{{#var:COAG}}'|no html}}}}}}</center></td></tr>
  
 
<tr><td bgcolor="#f6ab71"><center>[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=253668 27364]</center></td></tr>
 
<tr><td bgcolor="#f6ab71"><center>[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=253668 27364]</center></td></tr>
Line 16: Line 26:
 
<tr><td bgcolor="#d3f6d0"><center>-</center></td></tr>
 
<tr><td bgcolor="#d3f6d0"><center>-</center></td></tr>
  
<tr><td bgcolor="#d3f6d0"><center>{{#ifeq:{{#var:HG}}|JMH|[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=ONEDISP&ID=149652&SRCHNM=Higgins&UseSearchVer=1&NOBACK=0&BEGIN=11&END=20#top {{#var:HG}}]|[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID={{#var:HGpager}} {{#var:HG}}]}}</center></td></tr>
+
<tr><td bgcolor="#d3f6d0"><center>{{#ifeq:{{#var:HG}}|JMH|{{fontawesome|s|mobile-alt|#6b6b6b}} [https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=ONEDISP&ID=149652&SRCHNM=Higgins&UseSearchVer=1&NOBACK=0&BEGIN=11&END=20#top PPD] {{fontawesome|s|user-md|#6b6b6b}} {{#tip-text:{{#var:HG}}|{{#cargo_query:tables=facultyMGH|fields=fullname|where=copath_id='{{#var:HG}}'|no html}}}}|{{fontawesome|s|pager|#6b6b6b}} [https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&PID={{#var:HGpager}} {{#var:HGpager}}] {{fontawesome|s|user-md|#6b6b6b}} {{#tip-text:{{#var:HG}}|{{#cargo_query:tables=facultyMGH|fields=fullname|where=copath_id='{{#var:HG}}'|no html}}}}}}</center></td></tr>
  
<tr><td bgcolor="#7ba8c6"><center>{{#ifeq:{{#time:w|now}}|2|[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=143571 MFL12]|[https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=67464 MM408]}}</center></td></tr>
+
<tr><td bgcolor="#7ba8c6"><center>{{#ifeq:{{#time:w|now}}|2|{{fontawesome|s|pager|#6b6b6b}} [https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=143571 18962] {{fontawesome|s|user-md|#6b6b6b}} {{#tip-text:MFL12|Morris Ling}}|{{fontawesome|s|pager|#6b6b6b}} [https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=67464 33049] {{fontawesome|s|user-md|#6b6b6b}} {{#tip-text: MM408 |Mandakolathur Murali}}}}</center></td></tr>
 
</table>
 
</table>

Revision as of 13:06, September 6, 2021