app/assets/javascripts/views/media_resources/page.tmpl.haml

Summary

Maintainability
Test Coverage
%li{:class => "ui-resources-page{{if not_loaded}} not-loaded{{/if}}", :"data-page" => "${page}"}
  %span.ui-resources-page-counter.ui-pager.small
    %span#resources_counter ${total} 
    ${_jed('items')}, ${_jed('page')}  
    %span#pages_counter ${page}
    ${_jed('of')} 
    %span#total_pages_counter ${total_pages}

  %ul.ui-resources-page-items
    {{if not_loaded}}
    {{each(i) App.MediaResourcesController.Index.PAGESIZE_ARRAY}}
    {{tmpl App.renderPath("media_resources/not_loaded_resource")}}
    {{/each}}
    {{/if}}