Comparison

mod_http_muc_log/http_muc_log.html @ 3702:caf27826c7b2

mod_http_muc_log: Use configured room language in room title/desc #a11y Room title and description is presumably using the language set in the room configuration.
author Kim Alvefur <zash@zash.se>
date Wed, 09 Oct 2019 21:36:23 +0200
parent 3701:3bb9a0806439
child 3703:7244ff1d62a8
comparison
equal deleted inserted replaced
3701:3bb9a0806439 3702:caf27826c7b2
43 form{text-align:right} 43 form{text-align:right}
44 </style> 44 </style>
45 </head> 45 </head>
46 <body> 46 <body>
47 <header> 47 <header>
48 <h1 title="xmpp:{jid?}">{title}</h1> 48 <h1 {lang&lang="{lang}"} title="xmpp:{jid?}">{title}</h1>
49 <nav> 49 <nav>
50 <ul> 50 <ul>
51 {jid_node& 51 {jid_node&
52 <li class="button"><a href="xmpp:{jid?}?join">Join using a client</a></li> 52 <li class="button"><a href="xmpp:{jid?}?join">Join using a client</a></li>
53 } 53 }
55 <li><a class="{item.rel?}" href="{item.href}{hide_presence&?p=h}" rel="{item.rel?}">{item.text}</a></li>} 55 <li><a class="{item.rel?}" href="{item.href}{hide_presence&?p=h}" rel="{item.rel?}">{item.text}</a></li>}
56 </ul> 56 </ul>
57 </nav> 57 </nav>
58 </header> 58 </header>
59 <hr> 59 <hr>
60 <main class="content"> 60 <main {lang&lang="{lang}"} class="content">
61 <nav> 61 <nav>
62 <dl class="room-list"> 62 <dl class="room-list">
63 {rooms# 63 {rooms#
64 <dt class="name"><a href="{item.href}{hide_presence&?p=h}">{item.name}</a></dt> 64 <dt {item.lang&lang="{item.lang}"} class="name"><a href="{item.href}{hide_presence&?p=h}">{item.name}</a></dt>
65 <dd class="description">{item.description?}</dd>} 65 <dd {item.lang&lang="{item.lang}"} class="description">{item.description?}</dd>}
66 </dl> 66 </dl>
67 {years# 67 {years#
68 <h2 id="{item.year}">{item.year}</h2> 68 <h2 id="{item.year}">{item.year}</h2>
69 {item.months# 69 {item.months#
70 <table id="{item.month}-{item.year}"> 70 <table id="{item.month}-{item.year}">