not_found_content.html 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <div id="content-main" class="content-main page-list"
  2. data-path="{{ encodeURI(path) }}"
  3. data-current-user="{% if user %}{{ user._id.toString() }}{% endif %}"
  4. data-page-grant="{{ grant }}"
  5. data-page-grant-group="{{ grantedGroupId }}"
  6. data-page-grant-group-name="{{ grantedGroupName }}"
  7. data-page-is-empty="{{ isEmpty }}"
  8. {% if templateTags %}
  9. data-template-tags="{{ templateTags }}"
  10. {% endif %}
  11. >
  12. <div id="display-switcher"></div>
  13. <div id="not-found-page"></div>
  14. <div class="tab-content">
  15. {# TODO: should be removed and transplanted to PageContainer.initStateMarkdown ------ from here ------ #}
  16. {% if getConfig('crowi', 'customize:isEnabledAttachTitleHeader') %}
  17. {% if template %}
  18. <script type="text/template" id="raw-text-original">{{ attachTitleHeader(path | path2name | preventXss) }}&NewLine;{{ template }}</script>
  19. {% else %}
  20. <script type="text/template" id="raw-text-original">{{ attachTitleHeader(path | path2name | preventXss) }}</script>
  21. {% endif %}
  22. {% else %}
  23. {% if template %}
  24. <script type="text/template" id="raw-text-original">{{ template }}</script>
  25. {% endif %}
  26. {% endif %}
  27. {# TODO: should be removed and transplanted to PageContainer.initStateMarkdown ------ to here ------ #}
  28. </div>
  29. <div id="grw-page-status-alert-container"></div>
  30. </div>