X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=modules%2Ffreifunk%2Fluasrc%2Fview%2Ffreifunk%2Fcontact.htm;h=2d79ccd40616788dc099e5cc8c5071ba92ee6e0b;hb=03ed541b7613206010ddfbfc5a8fb6af5cbbf106;hp=23a5e7b1af0c0eb1b538a4bfbfa7bcc889b128c3;hpb=13224b696d0ea71fb2f8e2b4b0e8eca6caa9ae90;p=project%2Fluci.git diff --git a/modules/freifunk/luasrc/view/freifunk/contact.htm b/modules/freifunk/luasrc/view/freifunk/contact.htm index 23a5e7b1a..2d79ccd40 100644 --- a/modules/freifunk/luasrc/view/freifunk/contact.htm +++ b/modules/freifunk/luasrc/view/freifunk/contact.htm @@ -21,10 +21,11 @@ local lon = uci:get_first("system", "system", "longitude") local lat = uci:get_first("system", "system", "latitude") if not contact then - nickname, name, mail, phone, location, note = "" + nickname, name, homepage, mail, phone, location, note = "" else nickname = contact.nickname or "" name = contact.name or "" + homepage = contact.homepage or {} mail = contact.mail or "" phone = contact.phone or "" location = uci:get_first("system", "system", "location") or contact.location @@ -39,6 +40,11 @@ end +
<%:Nickname%>:<%=nickname%>
<%:Realname%>:<%=name%>
<%:Homepage%>: + <% for k, v in ipairs(homepage) do %> + <%=v%>
+ <% end %> +
<%:E-Mail%>:<%=mail%>
<%:Phone%>:<%=phone%>