Last active
August 29, 2015 14:15
-
-
Save jbutters/c546ec07aca495f20cb7 to your computer and use it in GitHub Desktop.
add custom alert to /teachers/classattendance.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Start of custom alert--> | |
~[tlist_sql;select CASE customalert WHEN 1 THEN '<a class="dialogDivC" title="customalert Student" href="#hiddenDivDialog"><img src="/images/alert_customalert.gif"></a>' ELSE '' END from ps.students s join ps.U_customalertDBextension i on s.DCID = i.STUDENTSDCID join ps.cc cc on cc.STUDENTID = s.ID where cc.id = '[ccid]';]~(studentid;)[/tlist_sql] | |
<div id="hiddenDivDialog" class="hide"><div class="studentAlert" id="alert-customalert~(studentfrn)"> | |
<img class="alertImage" src="/images/alert_customalert.gif" /> | |
<div class="alertContent"><p class="alertHeader">customalert Student</p></div></div> | |
<!-- End of custom alert --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment