mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
webui: route peer location to chat-lobby
This commit is contained in:
parent
b1da4ed67e
commit
b1286f06ed
2 changed files with 4 additions and 1 deletions
|
@ -36,7 +36,7 @@ google material design has nice rules for color, spacing and everything: https:/
|
|||
[ ] find icons, maybe use google material design iconfont
|
||||
[X] use urls/mithril routing for the menu. urls could replace state stored in rs.content
|
||||
[X] drag and drop private key upload and import
|
||||
[ ] link from peer location to chat (use urls and mithril routing)
|
||||
[X] link from peer location to chat (use urls and mithril routing)
|
||||
[X] add/remove friend, own cert
|
||||
[X] downloads, search
|
||||
[ ] make reusable infinite list controller, the js part to load data from Pagination.h (tweak Pagination.h to make everything work)
|
||||
|
|
|
@ -34,6 +34,9 @@ module.exports = {view: function(){
|
|||
return m("div",{
|
||||
style:"color:" + (location.is_online ? "lime": "grey")
|
||||
+ ";cursor:pointer",
|
||||
onclick: function(){
|
||||
m.route("/chat?lobby=" + location.chat_id)
|
||||
}
|
||||
|
||||
},location.location);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue