EntityBusinessMetaDataItemView_tmpl.html 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <!--
  2. * Licensed to the Apache Software Foundation (ASF) under one or more
  3. * contributor license agreements. See the NOTICE file distributed with
  4. * this work for additional information regarding copyright ownership.
  5. * The ASF licenses this file to You under the Apache License, Version 2.0
  6. * (the "License"); you may not use this file except in compliance with
  7. * the License. You may obtain a copy of the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS,
  13. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. * See the License for the specific language governing permissions and
  15. * limitations under the License.
  16. -->
  17. {{#ifCond model "has" "isNew"}}
  18. <table class="custom-table bm-create" style="font-weight: 100;">
  19. <tr class="custom-tr">
  20. <td class="custom-col-1">
  21. {{{callmyfunction getBusinessMetadataDroupdown businessMetadataCollection}}}
  22. </td>
  23. <td class="custom-col-0"> : </td>
  24. <td class="custom-col-1" data-id="value">
  25. <input type="text" data-key disabled class="form-control">
  26. </td>
  27. <td class="custom-col-2 btn-group">
  28. <button class="btn btn-default btn-sm" data-id="deleteItem">
  29. <i class="fa fa-minus"> </i>
  30. </button>
  31. <button class="btn btn-default btn-sm" data-id="addItem">
  32. <i class="fa fa-plus"> </i>
  33. </button>
  34. </td>
  35. </tr>
  36. </table>
  37. {{else}}
  38. <hr />
  39. <ul class="business-metadata-tree-parent">
  40. <li>{{model.__internal_UI_businessMetadataName}}</li>
  41. <li class="business-metadata-tree-child" data-id="businessMetadataTreeChild">
  42. </li>
  43. </ul>
  44. {{/ifCond}}