not_found_content.html 1.1 KB

12345678910111213141516171819202122232425262728293031
  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. {% if templateTags %}
  5. data-template-tags="{{ templateTags }}"
  6. {% endif %}
  7. >
  8. <div id="display-switcher"></div>
  9. <div id="not-found-page"></div>
  10. <div class="tab-content">
  11. {# TODO: should be removed and transplanted to PageContainer.initStateMarkdown ------ from here ------ #}
  12. {% if getConfig('crowi', 'customize:isEnabledAttachTitleHeader') %}
  13. {% if template %}
  14. <script type="text/template" id="raw-text-original"># {{ path | path2name | preventXss }}&NewLine;{{ template }}</script>
  15. {% else %}
  16. <script type="text/template" id="raw-text-original"># {{ path | path2name | preventXss }}</script>
  17. {% endif %}
  18. {% else %}
  19. {% if template %}
  20. <script type="text/template" id="raw-text-original">{{ template }}</script>
  21. {% endif %}
  22. {% endif %}
  23. {# TODO: should be removed and transplanted to PageContainer.initStateMarkdown ------ to here ------ #}
  24. </div>
  25. <div id="grw-page-status-alert-container"></div>
  26. </div>