diff --git a/kfet/static/kfet/js/history.js b/kfet/static/kfet/js/history.js
index 58a9d3f5..291cc675 100644
--- a/kfet/static/kfet/js/history.js
+++ b/kfet/static/kfet/js/history.js
@@ -5,53 +5,12 @@ class KHistory {
static get default_options() {
return {
'templates': {
- 'purchase': `
-
-
-
-
-
-
-
- `,
- 'specialope': `
-
-
-
-
-
-
-
- `,
- 'opegroup': `
-
-
-
-
-
-
-
`,
- 'transfergroup': `
-
-
-
-
-
-
- `,
- 'day': `
-
-
-
- `,
- 'transfer': `
-
-
-
-
-
-
-
`,
+ 'purchase': '
',
+ 'specialope': '
',
+ 'opegroup': '
',
+ 'transfergroup': '
',
+ 'day': '
',
+ 'transfer': '
',
},
'api_options': {
@@ -78,14 +37,7 @@ class KHistory {
var templates = all_options.templates;
if (all_options.no_trigramme)
- templates['opegroup'] = `
-
-
-
-
-
-
- `;
+ templates['opegroup'] = '
';
this.display = new ForestDisplay(this._$container, templates, this.data);
diff --git a/kfet/static/kfet/js/kpsul.js b/kfet/static/kfet/js/kpsul.js
index 9e14f709..4f37a47c 100644
--- a/kfet/static/kfet/js/kpsul.js
+++ b/kfet/static/kfet/js/kpsul.js
@@ -64,21 +64,9 @@ class AccountManager {
// buttons: search, read or create
this._$buttons_container = this._$container.find('.buttons');
this._buttons_templates = {
- create: template`
-
-
-
- `,
- read: template`
-
-
-
- `,
- search: template`
-
- `,
+ create: template``,
+ read: template``,
+ search: template``,
};
}
@@ -208,10 +196,7 @@ class AccountSearch {
constructor(manager) {
this.manager = manager;
- this._content = `
-
-
- `;
+ this._content = '';
this._input = '#search_autocomplete';
this._results_container = '#account_results';
@@ -305,16 +290,8 @@ class CheckoutManager {
this._$buttons_container = this._$container.find('.buttons');
this._buttons_templates = {
- read: template`
-
-
-
- `,
- statement_create: template`
-
-
-
- `,
+ read: template``,
+ statement_create: template``,
};
}
@@ -457,18 +434,8 @@ class ArticleManager {
this.data = new ArticleList();
var $container = $('#articles_data');
var templates = {
- category: `
-
-
-
- `,
- article: `
-
-
-
-
-
- `,
+ category: '
',
+ article: '
',
};
this.display = new ForestDisplay($container, templates, this.data);
this.autocomplete = new ArticleAutocomplete(this, $container);