Commit bf8e3bf7b75ac21fe0bb2621fbce6c0050e7ed68

Authored by Bryn Divey
1 parent ca960fce

KTS-777: Added 'Disable/Enable' label to column containing the little Red Button


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5456 c91229c3-7414-0410-bfa2-8a42b809f60b
templates/ktcore/documenttypes/list.smarty
... ... @@ -32,7 +32,8 @@ its details, or use the enable/disable buttons to change its availability state.
32 32 <tr>
33 33 <th>{i18n}Document Type{/i18n}</th>
34 34 <th>{i18n}Associated Fieldsets{/i18n}</th>
35   - <th colspan="2">&nbsp;</th>
  35 + <th>{i18n}Edit{/i18n}</th>
  36 + <th>{i18n}Disable/Enable{/i18n}</th>
36 37 </tr>
37 38 </thead>
38 39  
... ... @@ -62,11 +63,11 @@ its details, or use the enable/disable buttons to change its availability state.
62 63 </td>
63 64  
64 65  
65   -<td>
  66 +<td style="text-align:center">
66 67 <a class="ktAction ktEdit" href="{addQS}action=edit&fDocumentTypeId={$oDocumentType->getId()}{/addQS}">{i18n}Edit{/i18n}</a>
67 68 </td>
68 69  
69   -<td>
  70 +<td style="text-align:center">
70 71 {if $oDocumentType->getDisabled()}
71 72 <a class="ktAction ktAdd" href="{addQS}action=enable&fDocumentTypeId={$oDocumentType->getId()}{/addQS}">{i18n}Enable{/i18n}</a>
72 73 {else}
... ...