Changeset 4738168


Ignore:
Timestamp:
Jun 17, 2011 6:13:49 PM (9 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
5420604
Parents:
3bbe3ba
Message:

Change text to "News updates" instead of "I2P updates" when install location is set to read-only

File:
1 edited

Legend:

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

    r3bbe3ba r4738168  
    2727 <% /* set hidden default */ %>
    2828 <input type="submit" name="action" value="" style="display:none" >
     29    <% if (updatehelper.canInstall()) { %>
    2930      <h3><%=intl._("Check for I2P and news updates")%></h3>
    3031      <div class="wideload"><table border="0" cellspacing="5">
    3132        <tr><td colspan="2"></tr>
    3233        <tr><td class= "mediumtags" align="right"><b><%=intl._("News &amp; I2P Updates")%>:</b></td>
     34     <% } else { %>
     35      <h3><%=intl._("Check for news updates")%></h3>
     36      <div class="wideload"><table border="0" cellspacing="5">
     37        <tr><td colspan="2"></tr>
     38        <tr><td class= "mediumtags" align="right"><b><%=intl._("News Updates")%>:</b></td>
     39     <% }   // if canInstall %>
    3340          <td> <% if ("true".equals(System.getProperty("net.i2p.router.web.UpdateHandler.updateInProgress", "false"))) { %> <i><%=intl._("Update In Progress")%></i><br> <% } else { %> <input type="submit" name="action" value="<%=intl._("Check for updates")%>" />
    3441            <% } %></td></tr>
     
    5865          <td><input type="text" size="60" name="zipURL" value="<jsp:getProperty name="updatehelper" property="zipURL" />"></td></tr>
    5966    <% } else { %>
    60         <tr><td class= "mediumtags" align="center" colspan="2"><b><%=intl._("I2P updates are disabled because you do not have write permission for the install directory.")%></b></td></tr>
     67        <tr><td class= "mediumtags" align="center" colspan="2"><b><%=intl._("Updates will be dispatched via your package manager.")%></b></td></tr>
    6168    <% }   // if canInstall %>
    6269        <tr class="tablefooter"><td colspan="2">
Note: See TracChangeset for help on using the changeset viewer.