Commit e1cb73ac4df21dfb5237965d6d0acb0bc0c1908a
1 parent
ec663b3b
fix for KTS-1046: icons are misleading
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5680 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
8 additions
and
22 deletions
templates/ktcore/metadata/listFieldsets.smarty
| ... | ... | @@ -26,16 +26,16 @@ |
| 26 | 26 | </td> |
| 27 | 27 | <td class="centered"> |
| 28 | 28 | {if ($oFieldset->getIsGeneric())} |
| 29 | - <span class="ktAction ktInline ktAllowed">{i18n}Yes{/i18n}</span> | |
| 29 | + <span>{i18n}Yes{/i18n}</span> | |
| 30 | 30 | {else} |
| 31 | - <span class="ktAction ktInline ktDenied">{i18n}No{/i18n}</span> | |
| 31 | + <span>s{i18n}No{/i18n}</span> | |
| 32 | 32 | {/if} |
| 33 | 33 | </td> |
| 34 | 34 | <td class="centered"> |
| 35 | 35 | {if ($oFieldset->getIsSystem())} |
| 36 | - <span class="ktAction ktInline ktAllowed">{i18n}Yes{/i18n}</span> | |
| 36 | + <span>{i18n}Yes{/i18n}</span> | |
| 37 | 37 | {else} |
| 38 | - <span class="ktAction ktInline ktDenied">{i18n}No{/i18n}</span> | |
| 38 | + <span>{i18n}No{/i18n}</span> | |
| 39 | 39 | {/if} |
| 40 | 40 | </td> |
| 41 | 41 | <td> |
| ... | ... | @@ -51,21 +51,9 @@ |
| 51 | 51 | {/if} |
| 52 | 52 | </td> |
| 53 | 53 | |
| 54 | - <td> | |
| 55 | -{assign var="aDocumentTypes" value=$oFieldset->getDocumentTypesUsing()} | |
| 56 | -{if $aDocumentTypes} | |
| 57 | - | |
| 58 | -{foreach from=$aDocumentTypes item=oDocumentType name=doctypes} | |
| 59 | - | |
| 60 | - {capture assign=docid}{$oDocumentType->getId()}{/capture} | |
| 61 | -<a href="{ktLink base="admin.php" subpath="/documents/typemanagement" query="action=edit&fDocumentTypeId=`$docid`"}">{$oDocumentType->getName()}</a>{if (!$smarty.foreach.doctypes.last)}<br/> {/if} | |
| 62 | - | |
| 63 | -{/foreach} | |
| 64 | - | |
| 65 | -{else} | |
| 66 | -— | |
| 67 | -{/if} | |
| 68 | - </td> | |
| 54 | + <td> | |
| 55 | + <span class="descriptiveText">{$context->getTypesForFieldset($oFieldset)}</span> | |
| 56 | + </td> | |
| 69 | 57 | |
| 70 | 58 | <td> |
| 71 | 59 | <a href="{addQS}action=edit&fFieldsetId={$oFieldset->getId()}{/addQS}" class="ktAction ktEdit">{i18n}Edit{/i18n}</a> |
| ... | ... | @@ -74,9 +62,7 @@ |
| 74 | 62 | <a href="{addQS}action=delete&fFieldsetId={$oFieldset->getId()}{/addQS}" class="ktAction ktDelete">{i18n}Delete{/i18n}</a> |
| 75 | 63 | </td> |
| 76 | 64 | |
| 77 | - <td> | |
| 78 | - <span class="descriptiveText">{$context->getTypesForFieldset($oFieldset)}</span> | |
| 79 | - </td> | |
| 65 | + | |
| 80 | 66 | |
| 81 | 67 | </tr> |
| 82 | 68 | </tbody> | ... | ... |