Commit f6928cf9414d4e4f39bc8bbd7653a3b78dfd2726

Authored by megan_w
1 parent 36ff1d82

KTS-3098

"If the Field contain more than 50 character you cannot scroll to the right"
Fixed. Truncated the filed to 40 characters.

Committed by: Megan Watson
Reviewed by: Conrad Vermeulen



git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@8196 c91229c3-7414-0410-bfa2-8a42b809f60b
templates/ktcore/metadata/admin/list.smarty
... ... @@ -41,13 +41,13 @@
41 41 {else}
42 42 <span class="ktAction ktDenied">{i18n}No{/i18n}</span>
43 43 {/if}
44   - </td>
  44 + </td>
45 45 <td>
46 46 {assign var="aFields" value=$oFieldset->getFields()}
47 47 {if $aFields}
48 48  
49 49 {foreach from=$aFields item=oField name=fields}
50   -{$oField->getName()}{if (!$smarty.foreach.fields.last)}<br/> {/if}
  50 +{$oField->getName()|truncate:40}{if (!$smarty.foreach.fields.last)}<br/> {/if}
51 51 {/foreach}
52 52  
53 53 {else}
... ... @@ -65,9 +65,9 @@
65 65 <td>
66 66 <a href="{addQS}action=delete&fFieldsetId={$oFieldset->getId()}{/addQS}" class="ktAction ktDelete">{i18n}Delete{/i18n}</a>
67 67 </td>
68   -
69 68  
70   -
  69 +
  70 +
71 71 </tr>
72 72 </tbody>
73 73 {/foreach}
... ...