Code

Fixed problem with the release chooser
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 10 May 2006 08:27:56 +0000 (08:27 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 10 May 2006 08:27:56 +0000 (08:27 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3256 594d385d-05f5-0310-b6e9-bd551577e9d8

TODO
plugins/admin/fai/faiPackageNew.tpl

diff --git a/TODO b/TODO
index 0bea1534b7e0d577d74004b31c7921a200da7d37..4e09567845fe74eb793dcfca2d65fe6d285f5df8 100644 (file)
--- a/TODO
+++ b/TODO
@@ -34,7 +34,6 @@ Now:
   - single object moving has to be checked
 * Check several ldap->cat() for needed attributes
 * Enhance show_ldap_error() with an additional programmer supplied message
-* New FAI package lists have a problem
 
 
 Target for 2.5:
index e7dc4be301118794774006f8210da825e7c02e7a..ac6ecb271bf00e4d682f89202a4030d0a82a7a24 100644 (file)
        </td>
        <td>
                <select name="FAIdebianReleaseS" title="{t}Release{/t}" onChange='document.mainform.submit();'>
+                       {if $sections eq ""}
+                       <option value="">{t}please choose a release...{/t}</option>
+                       {/if}
                        {html_options options=$releases selected=$release}
                </select>
                &nbsp;
                <input type="submit" value="{t}Refresh{/t}" name="SetRepository">
        </td>
 </tr>
+{if $sections ne ""}
 <tr>
-       <td height="30" style="vertical-align:top">
+       <td style="vertical-align:top">
         <b>{t}Sections for this release{/t}</b>
        </td>
-       <td>
+       <td style="vertical-align:top">
                {$sections} 
        </td>
 </tr>
+{/if}
 </table>
 <input type="hidden" name="YesItIsPostedPackages" value="1">
 <p class="seperator" style="margin-bottom:5px">&nbsp;
 </p>
 
 <div align="right" style="align:right;">
-    <input name="SaveObjectNew" value="{t}Continue{/t}" type="submit" {$goon}>
+    <input name="SaveObjectNew" value="{t}Continue{/t}" type="submit" {if $sections eq ""}disabled{/if}>
     <input name="edit_cancel" value="{t}Cancel{/t}" type="submit">
 </div>