Commits
49 49 | <script> |
50 50 | $(document).ready(function(){ |
51 51 | $("th.rotate").each(function(){ $(this).height($(this).find('span').width() + 8) }); |
52 52 | }); |
53 53 | </script> |
54 54 | |
55 55 | <% |
56 56 | # these functions are defined in template scope so we have access to the flags |
57 57 | # and agents context objects |
58 58 | |
59 + | |
59 60 | def total_for_mses(mses, row): |
60 61 | flagged = 0 |
61 62 | total = 0 |
62 63 | for ms in mses: |
63 64 | #total += flags[ms]['before'][row].total |
64 65 | if 'edgespw' in flags[ms].keys(): |
65 66 | total += flags[ms]['edgespw'][row].total |
66 67 | elif 'clip' in flags[ms].keys(): |
67 68 | total += flags[ms]['clip'][row].total |
68 69 | elif 'quack' in flags[ms].keys(): |