Comparison

mod_http_muc_log/mod_http_muc_log.lua @ 2840:683a2f25223d

mod_http_muc_log: Reword "back" links
author Kim Alvefur <zash@zash.se>
date Mon, 20 Nov 2017 20:47:38 +0100
parent 2839:7738d7158dd0
child 2841:462dece0a3c2
comparison
equal deleted inserted replaced
2839:7738d7158dd0 2840:683a2f25223d
172 return render(template, { 172 return render(template, {
173 title = get_room(room):get_name(); 173 title = get_room(room):get_name();
174 jid = get_room(room).jid; 174 jid = get_room(room).jid;
175 years = years; 175 years = years;
176 links = { 176 links = {
177 { href = "../", rel = "up", text = "Back to room list" }, 177 { href = "../", rel = "up", text = "Room list" },
178 }; 178 };
179 }); 179 });
180 end 180 end
181 181
182 -- Produce the chat log view 182 -- Produce the chat log view
266 return render(template, { 266 return render(template, {
267 title = ("%s - %s"):format(get_room(room):get_name(), date); 267 title = ("%s - %s"):format(get_room(room):get_name(), date);
268 jid = get_room(room).jid; 268 jid = get_room(room).jid;
269 lines = logs; 269 lines = logs;
270 links = { 270 links = {
271 { href = "./", rel = "up", text = "Back to calendar" }, 271 { href = "./", rel = "up", text = "Calendar" },
272 { href = prev_when, rel = "prev", text = prev_when}, 272 { href = prev_when, rel = "prev", text = prev_when},
273 { href = next_when, rel = "next", text = next_when}, 273 { href = next_when, rel = "next", text = next_when},
274 }; 274 };
275 }); 275 });
276 end 276 end