updates #1069 Don't show room-info icon for bookmarks

Currently we can only show the room info modal for open rooms, because
we need the Backbone.Model.

Querying the room info and displaying it for non-open rooms will be more
work and will require a separate modal.
This commit is contained in:
JC Brand 2018-07-04 09:18:54 +02:00
parent 145167baae
commit 47ec7501ed
2 changed files with 0 additions and 6 deletions

4
dist/converse.js vendored
View File

@ -83960,10 +83960,6 @@ __e(o.jid) +
__e(o.name) +
'"\n title="' +
__e(o.info_remove_bookmark) +
'" href="#">&nbsp;</a>\n <a class="room-info fa fa-info-circle align-self-center" data-room-jid="' +
__e(o.jid) +
'"\n title="' +
__e(o.info_title) +
'" href="#">&nbsp;</a>\n</div>\n';
return __p
};

View File

@ -3,6 +3,4 @@
<a class="remove-bookmark fa fa-bookmark align-self-center {[ if (o.bookmarked) { ]} button-on {[ } ]}"
data-room-jid="{{{o.jid}}}" data-bookmark-name="{{{o.name}}}"
title="{{{o.info_remove_bookmark}}}" href="#">&nbsp;</a>
<a class="room-info fa fa-info-circle align-self-center" data-room-jid="{{{o.jid}}}"
title="{{{o.info_title}}}" href="#">&nbsp;</a>
</div>