link to alias where possible
* view.matrix.org only works on public history rooms * start with our Space and Community expanded :p
This commit is contained in:
parent
79d1859d7d
commit
137f03796b
|
@ -14,7 +14,9 @@
|
||||||
|
|
||||||
<div class="room">
|
<div class="room">
|
||||||
% if room['name'] != "TOP":
|
% if room['name'] != "TOP":
|
||||||
% if room['name'] != "TOP" and room['name'] != "Libre Gaming" and 'children' in room:
|
% if room['name'].startswith('Libre Gaming'):
|
||||||
|
<details open><summary>
|
||||||
|
% elif room['name'] != "TOP" and room['name'] != "Libre Gaming" and 'children' in room:
|
||||||
<details><summary>
|
<details><summary>
|
||||||
% endif
|
% endif
|
||||||
<div class="info">
|
<div class="info">
|
||||||
|
@ -30,7 +32,9 @@
|
||||||
|
|
||||||
|
|
||||||
% if 'room_id' in room:
|
% if 'room_id' in room:
|
||||||
% if 'children' not in room:
|
% if 'canonical_alias' in room:
|
||||||
|
<a href="https://matrix.to/#/${room['canonical_alias']}">
|
||||||
|
% elif 'children' not in room and room['world_readable']:
|
||||||
<a href="https://view.matrix.org/room/${room['room_id']}">
|
<a href="https://view.matrix.org/room/${room['room_id']}">
|
||||||
% endif
|
% endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue