Commit 2d239704b38946640c3a9cedde396e63dafcb719
1 parent
fec87704
Show the lookup editor for trees too, and have a direct link to the tree
lookup manager for trees at the bottom. git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3988 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
5 additions
and
2 deletions
templates/ktcore/metadata/editField.smarty
| ... | ... | @@ -18,7 +18,7 @@ |
| 18 | 18 | <input type="submit" name="submit" value="Change"> |
| 19 | 19 | </form> |
| 20 | 20 | |
| 21 | -{if $oField->getHasLookup() and !$oField->getHasLookupTree()} | |
| 21 | +{if $oField->getHasLookup()} | |
| 22 | 22 | {assign var="aMetadata" value=$oField->getValues()} |
| 23 | 23 | {if $aMetadata} |
| 24 | 24 | |
| ... | ... | @@ -49,5 +49,8 @@ |
| 49 | 49 | {/if} |
| 50 | 50 | |
| 51 | 51 | {if $oField->getHasLookup() and $oField->getHasLookupTree()} |
| 52 | -Tree | |
| 52 | +{assign var=iFieldId value=$oField->getId()} | |
| 53 | +<a | |
| 54 | +href="{"manageLookupTrees"|generateControllerUrl:"action=editTree&field_id=$iFieldId"}">Manage | |
| 55 | +lookup tree</a> | |
| 53 | 56 | {/if} | ... | ... |