forked from I2P_Developers/i2p.i2p
Show news headings in the /home sidebar when the main news div is hidden
Note: this now refreshes along with the rest of the sidebar, so the news.xml file is read once every 15s - it may be better to cache the headings somewhere, though it's debatable whether reading the cache file is better than reading the news.xml file...
This commit is contained in:
@@ -17,6 +17,13 @@
|
||||
<h4><a href="/confignet#help" title="<%=intl._("Help with configuring your firewall and router for optimal I2P performance")%>"><%=intl._("Network")%>:
|
||||
<jsp:getProperty name="helper" property="reachability" /></a></h4>
|
||||
<hr>
|
||||
<%
|
||||
if (!newshelper.shouldShowNews()) {
|
||||
%>
|
||||
<jsp:getProperty name="newshelper" property="newsHeadings" /><hr>
|
||||
<%
|
||||
} // !shouldShowNews()
|
||||
%>
|
||||
<jsp:getProperty name="helper" property="updateStatus" />
|
||||
<jsp:getProperty name="helper" property="restartStatus" />
|
||||
<hr>
|
||||
|
Reference in New Issue
Block a user