diff --git a/addons/live_support/static/ext/static/img/avatar/avatar.jpeg b/addons/live_support/static/ext/static/img/avatar/avatar.jpeg new file mode 100644 index 00000000000..7168794022e Binary files /dev/null and b/addons/live_support/static/ext/static/img/avatar/avatar.jpeg differ diff --git a/addons/live_support/static/ext/static/img/button-gloss.png b/addons/live_support/static/ext/static/img/button-gloss.png new file mode 100755 index 00000000000..6f3957702fe Binary files /dev/null and b/addons/live_support/static/ext/static/img/button-gloss.png differ diff --git a/addons/live_support/static/ext/static/img/glyphicons-halflings-white.png b/addons/live_support/static/ext/static/img/glyphicons-halflings-white.png new file mode 100755 index 00000000000..3bf6484a29d Binary files /dev/null and b/addons/live_support/static/ext/static/img/glyphicons-halflings-white.png differ diff --git a/addons/live_support/static/ext/static/img/glyphicons-halflings.png b/addons/live_support/static/ext/static/img/glyphicons-halflings.png new file mode 100755 index 00000000000..a9969993201 Binary files /dev/null and b/addons/live_support/static/ext/static/img/glyphicons-halflings.png differ diff --git a/addons/live_support/static/ext/static/img/green.png b/addons/live_support/static/ext/static/img/green.png new file mode 100644 index 00000000000..01fb373c251 Binary files /dev/null and b/addons/live_support/static/ext/static/img/green.png differ diff --git a/addons/live_support/static/ext/static/img/logo.png b/addons/live_support/static/ext/static/img/logo.png new file mode 100644 index 00000000000..aca5f4c60d8 Binary files /dev/null and b/addons/live_support/static/ext/static/img/logo.png differ diff --git a/addons/live_support/static/ext/static/img/wood.png b/addons/live_support/static/ext/static/img/wood.png new file mode 100644 index 00000000000..22f2450d3ad Binary files /dev/null and b/addons/live_support/static/ext/static/img/wood.png differ diff --git a/addons/live_support/static/ext/static/js/livesupport.js b/addons/live_support/static/ext/static/js/livesupport.js index 988bb05a363..623fa8e2c4a 100644 --- a/addons/live_support/static/ext/static/js/livesupport.js +++ b/addons/live_support/static/ext/static/js/livesupport.js @@ -3,6 +3,7 @@ define(["nova", "jquery", "underscore", "oeclient", "require"], function(nova, $ var livesupport = {}; var te = new nova.TemplateEngine(); + te.setEnvironment({"toUrl", _.bind(require.toUrl, require)}); var connection; livesupport.main = function(server_url, db, login, password) { diff --git a/addons/live_support/static/ext/static/js/livesupport_templates.html b/addons/live_support/static/ext/static/js/livesupport_templates.html index 8fa0b1a2170..a2987853c6e 100644 --- a/addons/live_support/static/ext/static/js/livesupport_templates.html +++ b/addons/live_support/static/ext/static/js/livesupport_templates.html @@ -1,33 +1,32 @@ - -
-
- - - -
-
- -
-
-
-
- +<%def name="conversation"> +
+ + ${widget.user.get('name')} + +
+
+ ${widget.user.get("name") + " is offline. He/She will receive your messages on his/her next connection."} +
+
+
+
+ + + +<%def name="conversation_bubble"> +
+
+
- - -
-
- -
-
-
- -
-
-
-
+
${user.get('name')}
+
+ % _.each(items, function(item) { +
${item}
+ % });
- \ No newline at end of file +
${time}
+
+ \ No newline at end of file