Commit 67c00d77 authored by JC Brand's avatar JC Brand

Tweak invite widget style and make the placeholder text translateable.

updates #215
parent ff32866f
...@@ -2056,7 +2056,8 @@ ...@@ -2056,7 +2056,8 @@
this.$el.find('.chat-body').empty().append( this.$el.find('.chat-body').empty().append(
converse.templates.chatarea({ converse.templates.chatarea({
'show_toolbar': converse.show_toolbar, 'show_toolbar': converse.show_toolbar,
'label_message': __('Message') 'label_message': __('Message'),
'label_invitation': __('Type to invite')
}) })
); );
this.initInviteWidget().renderToolbar(); this.initInviteWidget().renderToolbar();
......
...@@ -606,9 +606,9 @@ span.spinner.hor_centered { ...@@ -606,9 +606,9 @@ span.spinner.hor_centered {
font-size: 12px; font-size: 12px;
} }
#conversejs .chatroom .invited-contact { #conversejs .chatroom .invited-contact {
margin: 2px 1px 0 1px; margin: 0;
width: 96px; width: 99px;
border: 1px solid #999; border-bottom: 1px solid #999;
} }
#conversejs .participants ul.participant-list li { #conversejs .participants ul.participant-list li {
overflow: hidden; overflow: hidden;
......
...@@ -656,9 +656,9 @@ span.spinner.hor_centered { ...@@ -656,9 +656,9 @@ span.spinner.hor_centered {
} }
#conversejs .chatroom .invited-contact { #conversejs .chatroom .invited-contact {
margin: 2px 1px 0 1px; margin: 0;
width: 96px; width: 99px;
border: 1px solid #999; border-bottom: 1px solid #999;
} }
#conversejs .participants ul.participant-list li { #conversejs .participants ul.participant-list li {
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
</div> </div>
<div class="participants"> <div class="participants">
<form class="room-invite"> <form class="room-invite">
<input class="invited-contact" placeholder="Invite someone" type="text"/> <input class="invited-contact" placeholder="{{label_invitation}}" type="text"/>
</form> </form>
<label>Participants:</label> <label>Participants:</label>
<ul class="participant-list"></ul> <ul class="participant-list"></ul>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment