- Timestamp:
- 09/26/08 10:49:02 (3 months ago)
- Location:
- trunk/client/software/src
- Files:
-
- 2 modified
-
EBox/Software.pm (modified) (1 diff)
-
templates/updates.mas (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/software/src/EBox/Software.pm
r10400 r11449 295 295 # by other process 296 296 # 297 sub listUpgradablePkgs 297 sub listUpgradablePkgs 298 298 { 299 299 my ($self,$clear) = @_; -
trunk/client/software/src/templates/updates.mas
r5851 r11449 8 8 </%init> 9 9 % if (@upgradables != 0) { 10 <script src="/data/js/scriptaculous/scriptaculous.js" type="text/javascript"></script> 10 11 <p><%__('Updates are available for the following system components')%>:</p> 11 12 <form id='updates' action='InstallPkgs' method='post'> … … 15 16 <th class='tleft'><%__('Component')%></th> 16 17 <th class='tleft'><%__('Description')%></th> 18 <th class='tleft'><%__('Version')%></th> 17 19 <th class='thOptions'><%__('Update')%></th> 18 20 </tr> … … 21 23 % foreach my $pkg (@upgradables) { 22 24 <tr class='border'> 23 <td><%$pkg->{name}%></td> 25 <td> 26 % if ( $pkg->{security} ) { 27 <img src="/data/images/add.gif" alt="more info" 28 % if ( $pkg->{changelog} ) { 29 onclick="$('<% $pkg->{name} %>_changelog').toggle() 30 return false;" 31 % } 32 /> 33 % } 34 <%$pkg->{name}%></td> 24 35 <td><%$pkg->{description}%></td> 36 <td><%$pkg->{version}%></td> 25 37 <td class='tcenter'> 26 38 <input type='checkbox' value='yes' … … 28 40 </td> 29 41 </tr> 30 % } 42 % if ( $pkg->{security} and $pkg->{changelog}) { 43 <tr style="display:none"></tr> 44 <tr class='trimp' id="<% $pkg->{name} %>_changelog" style="display:none"> 45 <td colspan='4'> 46 <pre><% $pkg->{changelog} %></pre> 47 </td> 48 </tr> 49 % } 50 % } 31 51 <tr class='trimp'> 32 <td colspan=' 2'>52 <td colspan='3'> 33 53 <strong><%__('Update all packages')%></strong> 34 54 </td>
