Index: pyglider/trunk/pyglider/pyglider.py =================================================================== --- pyglider/trunk/pyglider/pyglider.py (revision 470) +++ pyglider/trunk/pyglider/pyglider.py (revision 485) @@ -298,15 +298,14 @@ # but want to append info to last known surface report html_report = [ - '
', '

', '', '', - 'Glider: %s%s' % (glider, dt_str,), + 'Glider: %sABORT Surfacing' % (subject_glider,), '', ''] html_report.extend( - ['Glider Location--', - 'GPS Fix:%s' % (gps_posn_str,), - 'Time of Fix:%s' % (gps_dt_str,) + [ + 'Surface Event:%s' % (subject_event,), + 'Surface Reason:%s' % (subject_reason,), ]) # close the report tbody table div and CDATA @@ -314,8 +313,11 @@ ['', '', - '
', ' ' ]) + html_report_str = data[-1]['description'] + html_report_str = html_report_str + '\n'.join(html_report) + print html_report_str + data[-1]['description'] = html_report_str # close for-loop of msg in gms: return data