Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
cc0f6131
Commit
cc0f6131
authored
Jun 15, 2017
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rosterview: Include fullname (or JID) in tooltip for better UX
parent
8658822d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
src/converse-rosterview.js
src/converse-rosterview.js
+6
-5
No files found.
src/converse-rosterview.js
View file @
cc0f6131
...
...
@@ -73,7 +73,8 @@
* loaded by converse.js's plugin machinery.
*/
var
_converse
=
this
.
_converse
,
__
=
_converse
.
__
;
__
=
_converse
.
__
,
___
=
_converse
.
___
;
this
.
updateSettings
({
allow_chat_pending_contacts
:
true
,
...
...
@@ -609,7 +610,7 @@
this
.
el
.
classList
.
add
(
'
pending-xmpp-contact
'
);
this
.
$el
.
html
(
tpl_pending_contact
(
_
.
extend
(
item
.
toJSON
(),
{
'
desc_remove
'
:
__
(
'
Click to remove this contact
'
),
'
desc_remove
'
:
__
(
___
(
'
Click to remove %1$s as a contact
'
),
item
.
get
(
'
fullname
'
)
),
'
allow_chat_pending_contacts
'
:
_converse
.
allow_chat_pending_contacts
})
));
...
...
@@ -617,8 +618,8 @@
this
.
el
.
classList
.
add
(
'
requesting-xmpp-contact
'
);
this
.
$el
.
html
(
tpl_requesting_contact
(
_
.
extend
(
item
.
toJSON
(),
{
'
desc_accept
'
:
__
(
"
Click to accept this contact request
"
),
'
desc_decline
'
:
__
(
"
Click to decline this contact request
"
),
'
desc_accept
'
:
__
(
___
(
"
Click to accept the contact request from %1$s
"
),
item
.
get
(
'
fullname
'
)
),
'
desc_decline
'
:
__
(
___
(
"
Click to decline the contact request from %1$s
"
),
item
.
get
(
'
fullname
'
)
),
'
allow_chat_pending_contacts
'
:
_converse
.
allow_chat_pending_contacts
})
));
...
...
@@ -637,7 +638,7 @@
_
.
extend
(
item
.
toJSON
(),
{
'
desc_status
'
:
STATUSES
[
chat_status
||
'
offline
'
],
'
desc_chat
'
:
__
(
'
Click to chat with this contact
'
),
'
desc_remove
'
:
__
(
'
Click to remove this contact
'
),
'
desc_remove
'
:
__
(
___
(
'
Click to remove %1$s as a contact
'
),
item
.
get
(
'
fullname
'
)
),
'
title_fullname
'
:
__
(
'
Name
'
),
'
allow_contact_removal
'
:
_converse
.
allow_contact_removal
,
'
num_unread
'
:
item
.
get
(
'
num_unread
'
)
||
0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment