versioning.tpl 1.76 KB
Newer Older
1 2
{include file="header.tpl"}

3 4 5 6 7 8
<div id="view-wizard-controls" class="with-heading">
    <a href="{$viewurl}" id="display_page">
        {str tag=displayview section=view}
        <span class="icon icon-arrow-circle-right right" role="presentation" aria-hidden="true"></span>
    </a>
</div>
9

10 11 12
<div class="grouppageswrap view-container">
    {$timelineform|safe}
{if $views}
13
    <div class="jtline"><span class="icon icon-spinner icon-pulse"></span> {str tag=loadingtimelinecontent section=view arg1=$viewtitle}</div>
14 15 16 17 18 19
    <script type="application/javascript">
    $(function () {
        var jtLine = $('.jtline').jTLine({
            callType: 'ajax',
            url:'versioning.json.php',
            eventsMinDistance: 100,
20 21 22
            distanceMode: 'fixDistance', // predefinedDistance , fixDistance
            fixDistanceValue: 2,
            firstPointMargin: 1.5,
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
            params: {literal}{{/literal}
              'sesskey': config.sesskey,
              {if $fromdate} 'fromdate' : '{$fromdate}', {/if}
              {if $todate}'todate' : '{$todate}', {/if}
              'view' : '{$view}',
              {literal}}{/literal},
            map: {
                "dataRoot": "/",
                "title": "taskTitle",
                "subTitle": "taskSubTitle",
                "dateValue": "assignDate",
                "idValue": "assignID",
                "pointCnt": "taskShortDate",
                "bodyCnt": "taskDetails"
            },
            formatTitle: function (title, obj) { return '<h3>' + title + '</h3>'; },
            formatSubTitle: function (subTitle, obj) { return '<div class="metadata">' + subTitle + '</div>'; },
            formatBodyContent: function (bodyCnt, obj) { return bodyCnt;}
        });
    });
    </script>
{/if}
</div>
46

47
{include file="footer.tpl"}