~eventum-developers/eventum/trunk

« back to all changes in this revision

Viewing changes to templates/reports/weekly.tpl.html

  • Committer: Elan Ruusamäe
  • Date: 2015-04-03 17:16:08 UTC
  • Revision ID: glen@delfi.ee-20150403171608-u41tcmt49uayv0g4
discard {literal} from templates

it is rarely needed in Smarty3

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
{block "report_content"}
5
5
<script type="text/javascript">
6
 
{literal}
 
6
 
7
7
function changeType() {
8
8
    if ($('input[name=report_type]:checked').val() == 'range') {
9
9
        $('#week_row').hide();
14
14
    }
15
15
}
16
16
$().ready(function() {
17
 
{/literal}
 
17
 
18
18
    changeType();
19
19
    $('input[name=report_type]').click(changeType);
20
20
});