diff options
Diffstat (limited to 'bn_django/git_wiki/templates/git_wiki/item.html')
-rw-r--r-- | bn_django/git_wiki/templates/git_wiki/item.html | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/bn_django/git_wiki/templates/git_wiki/item.html b/bn_django/git_wiki/templates/git_wiki/item.html deleted file mode 100644 index cf49753..0000000 --- a/bn_django/git_wiki/templates/git_wiki/item.html +++ /dev/null @@ -1,55 +0,0 @@ -{% extends "git_wiki/base.html" %} - -{% block stylesheets %} -{{ block.super }} -<link rel="STYLESHEET" type="text/css" href="/static/style/docutils.css" /> -{% endblock %} - -{% block right_stuff %}{{block.super}} -<b>Item name:</b> - <span class="hash">{{ item.name }}</span><br /> -<b>Item hash:</b> - <span class="hash">{{ item.id }}</span><br /> -<br /><b> -View as <a href="/k/{{ item.slug }}/pdf/">pdf</a>,<br /> -or as <a href="/k/{{ item.slug }}/latex/">LaTeX</a>,<br /> -or see the <a href="/k/{{ item.slug }}/raw/">raw source</a>.<br /> -<br /> -Browse the <a href="/k/{{ item.slug }}/log">changelog</a> -</b> -{% endblock %} - -{% block path %}{{ block.super }} » <a href="/k/{{ item.slug }}/"> - {{ item.path }}</a>{% endblock %} - -{% comment %} Needed the extra .title css info... {% endcomment %} -{% block title %}<h1 class="title"> {% if doc.title %}{{ doc.title }}{% else %}[Unititled Document]{% endif %}</h1>{% endblock %} - -{% block subtitle %}{% if doc.subtitle %}{{doc.subtitle}}{% endif %}{% endblock %} - -{% block gitwiki %} - -{{ doc.fragment|safe }} - <br /> -{% endblock %} - -{% comment %} -BROKEN, comments need char type primary keys -{% block commentary %} -<div class="content" id="commentary"> -{% load comments %} -<br /><p><em>IMPORTANT: Comments only apply to this revision of the item! -They will be lost if the item is updated.</em></p> -<h3>Post a comment</h3> -{% if user.is_authenticated %} -{% comment_form for git_wiki.item item.id with is_public true %} -{% else %} -{% free_comment_form for git_wiki.item item.id with is_public true %} -{% endif %} -<br /> -{% get_comment_list for git_wiki.item item.id as comments %} -{% get_free_comment_list for git_wiki.item item.id as free_comments %} -{% include "comment_list" %} -</div> -{% endblock %} -{% endcomment %} |