def table_template(self): return get_handlebars_template(os.path.join(os.path.dirname(__file__), 'templates', 'table.html'))
def task_reminder_vuejs_template(self): return get_handlebars_template( resource_filename('opengever.task.browser.vue_templates', 'task_reminder_selector.html'))
def table_template(self): return get_handlebars_template( os.path.join(os.path.dirname(__file__), 'templates', 'table.html'))
def vuejs_template(self): return get_handlebars_template( resource_filename('opengever.base.viewlets', 'recently_touched_menu.html'))
def vuejs_template(self): return get_handlebars_template( resource_filename('opengever.base.browser', 'templates/favorites_list.html'))
def vuejs_template(self): return get_handlebars_template( resource_filename('opengever.document.browser', 'templates/save_pdf_under.html'))
def vuejs_template(self): return get_handlebars_template( resource_filename('opengever.meeting.browser.meetings', 'templates/demand_zip.html'))
def vuejs_template(self): return get_handlebars_template( resource_filename('opengever.base.viewlets', 'favorites_menu.html'))
def test_get_template(self): template = handlebars.get_handlebars_template(SIMPLE_TEMPLATE) self.assertIn('<div class="foo">%(foo)s</div>', template) self.assertIn('<div class="bar">%(bar)s</div>', template)
def vuejs_template(self): return get_handlebars_template( resource_filename('opengever.sharing.browser', 'templates/sharing.html'))