PageRenderTime 39ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/django/contrib/admindocs/templates/admin_doc/view_index.html

https://code.google.com/p/mango-py/
HTML | 43 lines | 34 code | 9 blank | 0 comment | 0 complexity | d6f4be228c189acef7a55f26faddf716 MD5 | raw file
Possible License(s): BSD-3-Clause
  1. {% extends "admin/base_site.html" %}
  2. {% load i18n %}
  3. {% block coltype %}colSM{% endblock %}
  4. {% block breadcrumbs %}<div class="breadcrumbs"><a href="../../">Home</a> &rsaquo; <a href="../">Documentation</a> &rsaquo; Views</div>{% endblock %}
  5. {% block title %}Views{% endblock %}
  6. {% block content %}
  7. <h1>View documentation</h1>
  8. {% regroup views|dictsort:"site_id" by site as views_by_site %}
  9. <div id="content-related" class="sidebar">
  10. <div class="module">
  11. <h2>Jump to site</h2>
  12. <ul>
  13. {% for site_views in views_by_site %}
  14. <li><a href="#site{{ site_views.grouper.id }}">{{ site_views.grouper.name }}</a></li>
  15. {% endfor %}
  16. </ul>
  17. </div>
  18. </div>
  19. <div id="content-main">
  20. {% for site_views in views_by_site %}
  21. <div class="module">
  22. <h2 id="site{{ site_views.grouper.id }}">Views by URL on {{ site_views.grouper.name }}</h2>
  23. {% for view in site_views.list|dictsort:"url" %}
  24. {% ifchanged %}
  25. <h3><a href="{{ view.module }}.{{ view.name }}/">{{ view.url }}</a></h3>
  26. <p class="small quiet">View function: {{ view.module }}.{{ view.name }}</p>
  27. <p>{{ view.title }}</p>
  28. <hr />
  29. {% endifchanged %}
  30. {% endfor %}
  31. </div>
  32. {% endfor %}
  33. </div>
  34. {% endblock %}