Index.html 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <html
  2. xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
  3. xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers"
  4. xmlns:be="http://typo3.org/ns/TYPO3/CMS/Backend/ViewHelpers"
  5. data-namespace-typo3-fluid="true">
  6. <f:layout name="Default" />
  7. <f:section name="Content">
  8. <h1>Auflistung Chatbot Begriffe</h1>
  9. <f:if condition="{terms}">
  10. <div class="table-fit">
  11. <table id="chatbotbegriffmgt-terms" class="table table-striped table-hover table-vertical-top">
  12. <thead>
  13. <tr>
  14. <td><b>Typ<b></td>
  15. <td><b>Kategorie</b></td>
  16. <td><b>Begriffe</b></td>
  17. <td><b>Link</b></td>
  18. <td></td>
  19. </tr>
  20. </thead>
  21. <tbody>
  22. <f:for each="{terms}" as="term">
  23. <tr>
  24. <td>
  25. {term.type}
  26. </a>
  27. </td>
  28. <f:if condition="{term.category} != '0' ">
  29. <f:then>
  30. <td>
  31. {term.category}
  32. </td>
  33. </f:then>
  34. <f:else>
  35. <td></td>
  36. </f:else>
  37. </f:if>
  38. <td>
  39. {term.terms -> f:format.crop(maxCharacters: 25)}
  40. </td>
  41. <f:if condition="{term.url} != '0' ">
  42. <f:then>
  43. <td>{term.url}</td>
  44. </f:then>
  45. <f:else>
  46. <td></td>
  47. </f:else>
  48. </f:if>
  49. <td class="col-control">
  50. <div class="btn-group" role="group">
  51. <be:link.editRecord class="btn btn-default" table="tx_begriffmgt_domain_model_term" uid="{term.uid}" title="Bearbeiten">
  52. <core:icon identifier="actions-open" />
  53. </be:link.editRecord>
  54. </div>
  55. </td>
  56. </tr>
  57. </f:for>
  58. </tbody>
  59. </table>
  60. </div>
  61. </f:if>
  62. </f:section>
  63. </html>