config-mode: link to gluon commit id on GitHub
This commit is contained in:
parent
5ef3d883a5
commit
2f5c6b7b11
@ -23,6 +23,8 @@ $Id$
|
||||
|
||||
local hostname = pretty_hostname.get(uci)
|
||||
local release = fs.readfile("/lib/gluon/release")
|
||||
local version = fs.readfile("/lib/gluon/gluon-version")
|
||||
local commit = string.sub( version, -8, string.len(version))
|
||||
|
||||
local request = disp.context.path
|
||||
local request2 = disp.context.request
|
||||
@ -123,6 +125,9 @@ $Id$
|
||||
<% if release then %>
|
||||
/ <%=gluon_luci.escape(release)%>
|
||||
<% end %>
|
||||
<% if version then %>
|
||||
/ <a style="display:inline" target="_blank" href="https://github.com/freifunk-gluon/gluon/commit/<%=gluon_luci.escape(commit)%>"><%=gluon_luci.escape(version)%></a>
|
||||
<% end %>
|
||||
<span id="xhr_poll_status" style="display:none" onclick="XHR.running() ? XHR.halt() : XHR.run()">
|
||||
| <%:Auto Refresh%>:
|
||||
<span id="xhr_poll_status_on"><%:on%></span>
|
||||
|
Loading…
Reference in New Issue
Block a user