Ver Fonte

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.
JC Brand há 7 anos atrás
pai
commit
47ec7501ed
2 ficheiros alterados com 0 adições e 6 exclusões
  1. 0 4
      dist/converse.js
  2. 0 2
      src/templates/bookmark.html

+ 0 - 4
dist/converse.js

@@ -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
 };

+ 0 - 2
src/templates/bookmark.html

@@ -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>