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
c6d7317b
Commit
c6d7317b
authored
Jul 02, 2018
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show the topic in the room info modal
parent
1880b3f2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
7 deletions
+17
-7
dist/converse.js
dist/converse.js
+13
-5
src/converse-muc-views.js
src/converse-muc-views.js
+1
-1
src/templates/chatroom_details_modal.html
src/templates/chatroom_details_modal.html
+3
-1
No files found.
dist/converse.js
View file @
c6d7317b
...
...
@@ -75879,7 +75879,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
toHTML() {
return tpl_chatroom_details_modal(_.extend(this.model.toJSON(), {
'__': __,
'display_name':
this.model.getDisplayName(
),
'display_name':
__('Groupchat info for %1$s', this.model.getDisplayName()
),
'num_occupants': this.model.occupants.length
}));
}
...
...
@@ -84247,18 +84247,26 @@ __e(o.display_name) +
'</h5>\n <button type="button" class="close" data-dismiss="modal" aria-label="' +
__e(o.label_close) +
'"><span aria-hidden="true">×</span></button>\n </div>\n <div class="modal-body">\n <div class="room-info">\n <p class="room-info"><strong>' +
__e(o.__('Room address (JID)')) +
'</strong>: ' +
__e(o.jid) +
'</p>\n <p class="room-info"><strong>' +
__e(o.__('Name')) +
'</strong>: ' +
__e(o.name) +
'</p>\n <p class="room-info"><strong>' +
__e(o.__('Room address (JID)')) +
'</strong>: ' +
__e(o.jid) +
'</p>\n <p class="room-info"><strong>' +
__e(o.__('Description')) +
'</strong>: ' +
__e(o.description) +
'</p>\n <p class="room-info"><strong>' +
__e(o.__('Topic')) +
'</strong>: ' +
__e(o.subject.text) +
'</p>\n <p class="room-info"><strong>' +
__e(o.__('Topic Author')) +
'</strong>: ' +
__e(o.subject.author) +
'</p>\n <p class="room-info"><strong>' +
__e(o.__('Online users')) +
'</strong>: ' +
__e(o.num_occupants) +
src/converse-muc-views.js
View file @
c6d7317b
...
...
@@ -494,7 +494,7 @@
return
tpl_chatroom_details_modal
(
_
.
extend
(
this
.
model
.
toJSON
(),
{
'
__
'
:
__
,
'
display_name
'
:
this
.
model
.
getDisplayName
(
),
'
display_name
'
:
__
(
'
Groupchat info for %1$s
'
,
this
.
model
.
getDisplayName
()
),
'
num_occupants
'
:
this
.
model
.
occupants
.
length
})
);
...
...
src/templates/chatroom_details_modal.html
View file @
c6d7317b
...
...
@@ -7,9 +7,11 @@
</div>
<div
class=
"modal-body"
>
<div
class=
"room-info"
>
<p
class=
"room-info"
><strong>
{{{o.__('Room address (JID)')}}}
</strong>
: {{{o.jid}}}
</p>
<p
class=
"room-info"
><strong>
{{{o.__('Name')}}}
</strong>
: {{{o.name}}}
</p>
<p
class=
"room-info"
><strong>
{{{o.__('Room address (JID)')}}}
</strong>
: {{{o.jid}}}
</p>
<p
class=
"room-info"
><strong>
{{{o.__('Description')}}}
</strong>
: {{{o.description}}}
</p>
<p
class=
"room-info"
><strong>
{{{o.__('Topic')}}}
</strong>
: {{{o.subject.text}}}
</p>
<p
class=
"room-info"
><strong>
{{{o.__('Topic Author')}}}
</strong>
: {{{o.subject.author}}}
</p>
<p
class=
"room-info"
><strong>
{{{o.__('Online users')}}}
</strong>
: {{{o.num_occupants}}}
</p>
<p
class=
"room-info"
><strong>
{{{o.__('Features')}}}
</strong>
:
<div
class=
"chatroom-features"
>
...
...
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