not_found_content.html 1.1 KB

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