resource view tpl