Difference between revisions of "acc-today"

From MGH Learn Pathology
Line 25: Line 25:
 
</td>
 
</td>
 
<td colspan="1">
 
<td colspan="1">
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:A |Attending}}||#000000|}} '''({{#cargo_query: tables=scheduleFACservice |fields=scheduleFACservice.Date |where=scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} {{{5|}}} {{{6|}}} }}' AND scheduleFACservice.DayNumber='{{#expr: {{#time: N|{{Timezone}}}} {{{7|}}} {{{8|}}}}}' AND scheduleFACservice.TaskAbbrev='BR1' |format=template|template=acc-datedisplay}})</center></td></tr></table>
+
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:A |Attending}}||#000000|}} '''({{#switch: {{#time: N|{{Timezone}}}} | 1|2|3 = {{acc-FACdatetoday|+|0|+|0|+|0|+|2|}} | 4 = {{acc-FACdatetoday|+|0|+|0|+|1|-|3|}} | 5 = {{acc-FACdatetoday|+|0|+|0|+|1|-|3|}} | 6 = {{acc-FACdatetoday|+|0|+|0|+|0|+|0|}} | 7 = {{acc-FACdatetoday|+|0|+|0|+|1|-|6|}} | <center>{{ColorText|''Something went wrong!|yellow|red||}}<br>Please check <htmltag tagname="a" href="https://app.qgenda.com/Link/view?linkKey=9a12a547-f1b4-4998-bdca-acf3204a120e&landingPageId=40221bd9-4ac1-4a0b-8a00-da4f05d88f2e" target="_blank">QGenda.</htmltag>''<br><span style="color:red" class="glyphicon glyphicon-warning-sign" aria-hidden="true"></center> }})</center></td></tr></table>
 
{{#switch: {{#time: N|{{Timezone}}}}  
 
{{#switch: {{#time: N|{{Timezone}}}}  
 
| 1|2|3 = {{acc-FACtoday|+|0|+|0|+|0|+|2|}}  
 
| 1|2|3 = {{acc-FACtoday|+|0|+|0|+|0|+|2|}}  

Revision as of 06:33, September 24, 2019