Changeset eea0990 for apps


Ignore:
Timestamp:
Jun 3, 2019 11:39:56 AM (18 months ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
fe6c7cd
Parents:
aa0bafb
Message:

Use hasWrapper() util method

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/jsp/configservice.jsp

    raa0bafb reea0990  
    3030 <% } %>
    3131 </div>
    32  <% if (System.getProperty("wrapper.version") != null) { %>
     32 <% if (net.i2p.util.SystemVersion.hasWrapper()) { %>
    3333 <h3 class="ptitle" id="restartrouter"><%=intl._t("Restart the router")%></h3>
    3434 <p class="infohelp">
     
    7373 <h3 class="ptitle" id="servicedebug"><%=intl._t("Debugging")%>&nbsp;<a href="/jobs">[<%=intl._t("View the job queue")%>]</a></h3>
    7474 <p class="infohelp">
    75 <% if (System.getProperty("wrapper.version") != null) { %>
     75<% if (net.i2p.util.SystemVersion.hasWrapper()) { %>
    7676    <%=intl._t("At times, it may be helpful to debug I2P by getting a thread dump. To do so, please select the following option and review the thread dumped to <a href=\"logs.jsp#servicelogs\">wrapper.log</a>.")%>
    7777<% } else { // hack to make layout work for non-wrapper %>
     
    8282 <div class="formaction" id="dumpthreads">
    8383 <input type="submit" class="reload" name="action" value="<%=intl._t("Force GC")%>" >
    84 <% if (System.getProperty("wrapper.version") != null) { %>
     84<% if (net.i2p.util.SystemVersion.hasWrapper()) { %>
    8585 <input type="submit" class="download" name="action" value="<%=intl._t("Dump threads")%>" >
    8686<% } %>
Note: See TracChangeset for help on using the changeset viewer.