<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:xi="http://www.w3.org/2001/XInclude"
      xmlns:py="http://genshi.edgewall.org/">
  <xi:include href="admin.html" />
  
  <head>
    <title>Agilo ${_('General')}</title>
  </head>

  <body>
    <h2>Agilo ${_('General Options')}</h2>
    <form name="general" id ="general" method="post">
    <fieldset>
        <legend>${_('Advanced UI')}</legend>
        <label for="use_agilo_ui">${_('Enable Agilo Advanced UI?')}</label><br />
            <input type="radio" name="agilo_ui" id="do_not_use_agilo_ui"  checked="${(not agilo_ui) or None}" value="False" />${_('no')}
            <input type="radio" name="agilo_ui" id="use_agilo_ui" checked="${agilo_ui or None}" value="True" />${_('yes')}
        <div>
            ${_('Please note that changing this setting may require restarting the server. Depending on the infrastructure you use (mod_python, fast_cgi, mod_wsgi...) some information may be remain cached in memory')}.
        </div>
    </fieldset>
    <fieldset>
        <legend>${_('Time Estimation Unit')}</legend>
        <label for="use_hours">${_('Using which units are you estimating?')}</label><br />
            <input type="radio" name="use_days" id="use_hours" value="False" checked="${(not use_days) or None}" />${_('hours')}
            <input type="radio" name="use_days" id="use_days" value="True" checked="${use_days or None}" />${_('days')}
        <div>
            ${_('Please note that this setting only changes how time is displayed, the database is not updated automatically. If you switch from \'hours\' to \'days\' (or vice versa), a remaining time of \'5h\' will simply show up as \'5d\'.')}
        </div>
    </fieldset>
    <div class="buttons">
        <input type="submit" id="save" name="save" value="${_('Save')}" />
    </div>
    </form>
    <div id="help">
        <strong>Note:</strong>
        if you want to know more see <a href="${req.href('agilo-help', 'admin/GeneralAdmin')}">General Admin</a> in
        the Agilo help. 
    </div>
  </body>
 </html>