{{#if preAble}}
<p {{action 'pre'}} class="cplt"></p>
{{/if}}
<div class="cpnr">
    <p class="con">
		{{#if model.length}}
        {{log activeTmpl.entity.Coverimg}}
        <p {{action 'browse' activeTmpl.entity}}>
            {{image-local src=activeTmpl.entity.Coverimg thumbq='100' maxWidth='840' maxHeight='560' online=controller.session.online type='image'}}
        </p>
        <p class="cpnrbt">{{activeTmpl.schoolyear}} {{activeTmpl.entity.TemplateName}}</p>
		{{#if activeTmpl.state.isLoaded}}
		{{#if session.ISO}}
		{{^}}
		{{#if activeTmpl.state.text}}
        <p class="down">{{activeTmpl.state.text}}</p>
        {{/if}}
		{{/if}}
		{{#if activeTmpl.isUpdated}}
        <p class="cpnrxz" {{action 'download' activeTmpl 1}}><a href="#"></a><span class="cpnrnew"></span></p>
		{{/if}}
		{{^}}
		{{#if controller.session.online}}
		{{#if activeTmpl.subscribe}}
        <p class="cpnrxz" {{action 'download' activeTmpl 0}}><a href="#"></a></p>
		{{/if}}
		{{/if}}
		{{/if}}
		{{^}}
		{{#if controller.session.online}}
		没有符合要求的数据
		{{^}}
		没有本地数据，请切换到在线状态下载数据后查看
		{{/if}}
		{{/if}}
    </div>
</div>
{{#if nextAble}}
<p {{action 'next'}} class="cprt"></p>
{{/if}}