summaryrefslogtreecommitdiffstats
path: root/js/views/templates/callbutton.handlebars
diff options
context:
space:
mode:
Diffstat (limited to 'js/views/templates/callbutton.handlebars')
-rw-r--r--js/views/templates/callbutton.handlebars9
1 files changed, 9 insertions, 0 deletions
diff --git a/js/views/templates/callbutton.handlebars b/js/views/templates/callbutton.handlebars
new file mode 100644
index 000000000..6b05adaf2
--- /dev/null
+++ b/js/views/templates/callbutton.handlebars
@@ -0,0 +1,9 @@
+{{#if isInCall}}
+<button class="leave-call primary">{{leaveCallText}}</button>
+{{else}}
+ {{#if hasCall}}
+<button class="join-call call-ongoing primary">{{joinCallText}}</button>
+ {{else}}
+<button class="join-call primary">{{startCallText}}</button>
+ {{/if}}
+{{/if}}