aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/css/conversation.css1
-rwxr-xr-xview/tpl/jot.tpl14
2 files changed, 8 insertions, 7 deletions
diff --git a/view/css/conversation.css b/view/css/conversation.css
index 287d662ae..77e56e200 100644
--- a/view/css/conversation.css
+++ b/view/css/conversation.css
@@ -13,6 +13,7 @@
right: 0;
top: 0;
padding: 0.25rem 0 0.25rem 0.5rem;
+ cursor: pointer;
}
#jot-title-wrap,
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl
index 9f2860b2f..4a9717c01 100755
--- a/view/tpl/jot.tpl
+++ b/view/tpl/jot.tpl
@@ -62,26 +62,26 @@
<div id="jot-poll-wrap" class="p-2 d-none">
<div id="jot-poll-options">
<div class="jot-poll-option form-group">
- <input class="w-100 border-0" name="poll_answers[]" type="text" value="" placeholder="Option">
+ <input class="w-100 border-0" name="poll_answers[]" type="text" value="" placeholder="{{$poll_option_label}}">
</div>
<div class="jot-poll-option form-group">
- <input class="w-100 border-0" name="poll_answers[]" type="text" value="" placeholder="Option">
+ <input class="w-100 border-0" name="poll_answers[]" type="text" value="" placeholder="{{$poll_option_label}}">
</div>
</div>
{{include file="field_checkbox.tpl" field=$multiple_answers}}
<div id="jot-poll-tools" class="clearfix">
<div id="poll-tools-left" class="float-left">
- <button id="jot-add-option" class="btn btn-outline-secondary btn-sm" type="button" title="" onclick="">
- <i class="fa fa-plus"></i> Add option
+ <button id="jot-add-option" class="btn btn-outline-secondary btn-sm" type="button">
+ <i class="fa fa-plus"></i> {{$poll_add_option_label}}
</button>
</div>
<div id="poll-tools-right" class="float-right">
<div class="input-group">
<input type="text" name="poll_expire_value" class="form-control" value="10" size="3">
<select class="form-control" id="duration-select" name="poll_expire_unit">
- <option value="Minutes">min</option>
- <option value="Hours">h</option>
- <option value="Days" selected="selected">d</option>
+ <option value="Minutes">{{$poll_expire_unit_label.0}}</option>
+ <option value="Hours">{{$poll_expire_unit_label.1}}</option>
+ <option value="Days" selected="selected">{{$poll_expire_unit_label.2}}</option>
</select>
</div>
</div>