diff options
Diffstat (limited to 'bn_django/journal/templates')
24 files changed, 0 insertions, 571 deletions
diff --git a/bn_django/journal/templates/feeds/latest_entries_description.html b/bn_django/journal/templates/feeds/latest_entries_description.html deleted file mode 100644 index 6f28865..0000000 --- a/bn_django/journal/templates/feeds/latest_entries_description.html +++ /dev/null @@ -1 +0,0 @@ -{{obj.html_content|safe|truncatewords_html:300}} diff --git a/bn_django/journal/templates/feeds/latest_entries_title.html b/bn_django/journal/templates/feeds/latest_entries_title.html deleted file mode 100644 index e12d8e1..0000000 --- a/bn_django/journal/templates/feeds/latest_entries_title.html +++ /dev/null @@ -1 +0,0 @@ -{{obj.title|safe}} diff --git a/bn_django/journal/templates/feeds/latest_links_description.html b/bn_django/journal/templates/feeds/latest_links_description.html deleted file mode 100644 index 32c8857..0000000 --- a/bn_django/journal/templates/feeds/latest_links_description.html +++ /dev/null @@ -1 +0,0 @@ -{{ obj.html_caption|safe|truncatewords_html:200}} diff --git a/bn_django/journal/templates/feeds/latest_links_title.html b/bn_django/journal/templates/feeds/latest_links_title.html deleted file mode 100644 index d355de5..0000000 --- a/bn_django/journal/templates/feeds/latest_links_title.html +++ /dev/null @@ -1 +0,0 @@ -{{ obj.title }} diff --git a/bn_django/journal/templates/feeds/latest_microentries_description.html b/bn_django/journal/templates/feeds/latest_microentries_description.html deleted file mode 100644 index 427823d..0000000 --- a/bn_django/journal/templates/feeds/latest_microentries_description.html +++ /dev/null @@ -1 +0,0 @@ -{{obj.html_content|safe|truncatewords_html:160}} diff --git a/bn_django/journal/templates/feeds/latest_microentries_title.html b/bn_django/journal/templates/feeds/latest_microentries_title.html deleted file mode 100644 index d992ff6..0000000 --- a/bn_django/journal/templates/feeds/latest_microentries_title.html +++ /dev/null @@ -1 +0,0 @@ -{{obj.title}} diff --git a/bn_django/journal/templates/journal/artifacts.html b/bn_django/journal/templates/journal/artifacts.html deleted file mode 100644 index 4b82573..0000000 --- a/bn_django/journal/templates/journal/artifacts.html +++ /dev/null @@ -1,16 +0,0 @@ -{% extends "base.html" %} - -{% block title %}Artifacts!{% endblock %} - -{% block content %}<br /> -Oh golly oh golly! We've got -<b> -<ul> - <li /><a href="links/">links</a> - <li /><a href="images/">images</a> - <li /><a href="code/">code snippets</a> - <li /><a href="videos/">videos</a> -</ul> -</b> -Also check out journal <a href="/journal/entries/">entries</a> and <a href="/journal/microentries/">microentries</a>. -{% endblock %} diff --git a/bn_django/journal/templates/journal/base.html b/bn_django/journal/templates/journal/base.html deleted file mode 100644 index 819b1f4..0000000 --- a/bn_django/journal/templates/journal/base.html +++ /dev/null @@ -1,5 +0,0 @@ -{% extends "base.html" %} - -{% block path %} - <a href="/journal/">journal</a> -{% endblock %} diff --git a/bn_django/journal/templates/journal/codeartifact_detail.html b/bn_django/journal/templates/journal/codeartifact_detail.html deleted file mode 100644 index fefdea8..0000000 --- a/bn_django/journal/templates/journal/codeartifact_detail.html +++ /dev/null @@ -1,36 +0,0 @@ -{% extends "journal/base.html" %} -{# {% load markup %} #} -{% load comments %} -{% block path %}<a href="/artifacts/">artifacts</a> - »<a href="/artifacts/code/"> code</a> - »<a href="../{{ object.id }}"> {{ object.title }}</a> -{% endblock %} - -{% block title %} -{% if object.title %}{{ object.title }}{% else %}[Untitled Code Snippet]{% endif %} -{% endblock %} - -{% block content %}<br /> -{% if object %}<div class="right_stuff"> -<p class="date">Code added {{ object.date }}, -{% if object.author %}<br />by {{ object.author }},{% endif %} -{% if object.last_edited %}<br />last edited {{ object.last_edited }}.{% endif %} -</div> -{% if object.language %}This is in {{object.language}}.<br /><br />{%endif%} -<pre class="large"> -{{object.code}} -</pre> -{% if object.html_caption|safe %}<br /><br />{{object.html_caption}}{% endif %} -{% else %} -<p>This is not the artifact you are looking for.</p> -{% endif %} -{% endblock %} - -{% block commentary %} -<div class='content' id='commentary'> -{% get_comment_list for object as comments %} -{% include "comment_list" %} -<h3>Post a comment</h3> -{% render_comment_form for object %} -</div> -{% endblock %} diff --git a/bn_django/journal/templates/journal/codeartifact_list.html b/bn_django/journal/templates/journal/codeartifact_list.html deleted file mode 100644 index ee52afd..0000000 --- a/bn_django/journal/templates/journal/codeartifact_list.html +++ /dev/null @@ -1,27 +0,0 @@ -{% extends "journal/base.html" %} - -{% block path %}<a href="/artifacts/">artifacts</a> - »<a href="/artifacts/code/"> code</a> -{% endblock %} - -{% block title %}Code Snippets{% endblock %} - -{% block content %} -<br /> -{% if object_list %} -<ul> - {% for item in object_list %} - <li /><a href="{{ item.id }}/">{{item.title}}</a> - {% if item.language %} ({{item.language}}){% endif %} - {% endfor %} -</ul> -{% else %} -<p>No code snippets have been uploaded yet.</p> -{% endif %} - -{% if is_paginated %} {% if has_previous %} -<a href="./?page={{ previous }}">« previous</a> | -{% endif %} {% if has_next %} -<a href="./?page={{ next }}">next »</a> -{% endif %} {% endif %} -{% endblock %} diff --git a/bn_django/journal/templates/journal/entry_archive_month.html b/bn_django/journal/templates/journal/entry_archive_month.html deleted file mode 100644 index a9e72da..0000000 --- a/bn_django/journal/templates/journal/entry_archive_month.html +++ /dev/null @@ -1,35 +0,0 @@ -{% extends "journal/base.html" %} -{% load comments %} - -{% block title %}Journal Entries{% endblock %} - -{% block content %} -<br /> -<div class="notice"> -This page has an <a href="/journal/entries/rss.xml">RSS feed</a>. -<br /> -See also <a href="/artifacts/">artifacts</a>, <a href="microentries"> -microentries</a>. - -</div> -{% if object_list %} - {% for item in object_list %} - {% get_comment_count for item as comment_count %} - <h3><a href="{{ item.get_absolute_url }}"> - {% if item.title %}{{item.title}}{%else%}[Untitled]{%endif%}</a></h3> - <i>{{item.date|date:"D, d/m/Y @H:i"}} by {{ item.author.username }}. - <a href="{{ item.get_absolute_url }}#commentary">{{ comment_count }} comments</a></i> - <p style="padding-left:30px"> - {{ item.html_content|truncatewords_html:256 }} - </p> - {% endfor %} -{% else %} -<p>No entries have been entered yet!</p> -{% endif %} - -{% if is_paginated %} {% if has_previous %} -<a href="./?page={{ previous }}">« previous</a> | -{% endif %} {% if has_next %} -<a href="./?page={{ next }}">next »</a> -{% endif %} {% endif %} -{% endblock %} diff --git a/bn_django/journal/templates/journal/entry_archive_year.html b/bn_django/journal/templates/journal/entry_archive_year.html deleted file mode 100644 index a9e72da..0000000 --- a/bn_django/journal/templates/journal/entry_archive_year.html +++ /dev/null @@ -1,35 +0,0 @@ -{% extends "journal/base.html" %} -{% load comments %} - -{% block title %}Journal Entries{% endblock %} - -{% block content %} -<br /> -<div class="notice"> -This page has an <a href="/journal/entries/rss.xml">RSS feed</a>. -<br /> -See also <a href="/artifacts/">artifacts</a>, <a href="microentries"> -microentries</a>. - -</div> -{% if object_list %} - {% for item in object_list %} - {% get_comment_count for item as comment_count %} - <h3><a href="{{ item.get_absolute_url }}"> - {% if item.title %}{{item.title}}{%else%}[Untitled]{%endif%}</a></h3> - <i>{{item.date|date:"D, d/m/Y @H:i"}} by {{ item.author.username }}. - <a href="{{ item.get_absolute_url }}#commentary">{{ comment_count }} comments</a></i> - <p style="padding-left:30px"> - {{ item.html_content|truncatewords_html:256 }} - </p> - {% endfor %} -{% else %} -<p>No entries have been entered yet!</p> -{% endif %} - -{% if is_paginated %} {% if has_previous %} -<a href="./?page={{ previous }}">« previous</a> | -{% endif %} {% if has_next %} -<a href="./?page={{ next }}">next »</a> -{% endif %} {% endif %} -{% endblock %} diff --git a/bn_django/journal/templates/journal/entry_detail.html b/bn_django/journal/templates/journal/entry_detail.html deleted file mode 100644 index b68e4b6..0000000 --- a/bn_django/journal/templates/journal/entry_detail.html +++ /dev/null @@ -1,31 +0,0 @@ -{% extends "journal/base.html" %} -{% load comments %} - -{% block path %}{{ block.super }} - »<a href="{{object.get_absolute_url}}"> {{ object.title }}</a> -{% endblock %} - -{% block title %} -{% if object.title %}{{ object.title }}{% else %}[Untitled Entry]{% endif %} -{% endblock %} - -{% block content %}<br /> -{% if object %}<div class="right_stuff"> -<p class="date">Entry dated {{ object.date }}, -{% if object.author %}<br />written by {{ object.author }},{% endif %} -{% if object.last_edited %}<br />last edited {{ object.last_edited }}.{% endif %} -</div> -<p class="journal_entry">{{ object.html_content|safe }}</p> -{% else %} -<p>This is not the entry you are looking for.</p> -{% endif %} -{% endblock %} - -{% block commentary %} -<div class='content' id='commentary'> -{% get_comment_list for object as comments %} -{% include "comment_list" %} -<h3>Post a comment</h3> -{% render_comment_form for object %} -</div> -{% endblock %} diff --git a/bn_django/journal/templates/journal/entry_list.html b/bn_django/journal/templates/journal/entry_list.html deleted file mode 100644 index 8902552..0000000 --- a/bn_django/journal/templates/journal/entry_list.html +++ /dev/null @@ -1,39 +0,0 @@ -{% extends "journal/base.html" %} -{% load comments %} - -{% block title %}Journal Entries{% endblock %} - -{% block otherhead %}{{ block.super}} -<link rel="alternate" type="application/rss+xml" title="RSS" href="/journal/rss/latest_entries/"> -{% endblock %} - -{% block content %} -<br /> -<div class="notice"> -This page has an <a href="/journal/rss/latest_entries/">RSS feed</a>. -<br /> -See also <a href="/artifacts/">artifacts</a>, <a href="microentries"> -microentries</a>. - -</div> -{% if object_list %} - {% for item in object_list %} - {% get_comment_count for item as comment_count %} - <h3><a href="{{ item.get_absolute_url }}"> - {% if item.title %}{{item.title}}{%else%}[Untitled]{%endif%}</a></h3> - <i>{{item.date|date:"D, d/m/Y @H:i"}} by {{ item.author.username }}. - <a href="{{ item.get_absolute_url }}#commentary">{{ comment_count }} comments</a></i> - <p style="padding-left:30px"> - {{ item.html_content|truncatewords_html:256 }} - </p> - {% endfor %} -{% else %} -<p>No entries have been entered yet!</p> -{% endif %} - -{% if is_paginated %} {% if has_previous %} -<a href="./?page={{ previous }}">« previous</a> | -{% endif %} {% if has_next %} -<a href="./?page={{ next }}">next »</a> -{% endif %} {% endif %} -{% endblock %} diff --git a/bn_django/journal/templates/journal/imageartifact_detail.html b/bn_django/journal/templates/journal/imageartifact_detail.html deleted file mode 100644 index 45ea1aa..0000000 --- a/bn_django/journal/templates/journal/imageartifact_detail.html +++ /dev/null @@ -1,40 +0,0 @@ -{% extends "journal/base.html" %} -{# {% load markup %} #} -{% load comments %} -{% block path %}<a href="/artifacts/">artifacts</a> - »<a href="/artifacts/images/"> images</a> - »<a href="../{{ object.id }}"> {{ object.title }}</a> -{% endblock %} - -{% block title %} -{% if object.title %}{{ object.title }}{% else %}[Untitled Image]{% endif %} -{% endblock %} - -{% block content %}<br /> -{% if object %}<div class="right_stuff"> -<p class="date">Image uploaded {{ object.date }}, -{% if object.author %}<br />by {{ object.author }},{% endif %} -{% if object.last_edited %}<br />last edited {{ object.last_edited }}.{% endif %} -</div> -<center> -<div id="centerize"> - <a href="{{ object.fullurl }}"> - <img src="{{ object.dispurl }}" - alt="{{ object.title }}" /> - </a> -</div> -</center> -{% if object.html_caption %}<br /><br />{{object.html_caption}}{% endif %} -{% else %} -<p>This is not the artifact you are looking for.</p> -{% endif %} -{% endblock %} - -{% block commentary %} -<div class='content' id='commentary'> -{% get_comment_list for object as comments %} -{% include "comment_list" %} -<h3>Post a comment</h3> -{% render_comment_form for object %} -</div> -{% endblock %} diff --git a/bn_django/journal/templates/journal/imageartifact_list.html b/bn_django/journal/templates/journal/imageartifact_list.html deleted file mode 100644 index 6530773..0000000 --- a/bn_django/journal/templates/journal/imageartifact_list.html +++ /dev/null @@ -1,29 +0,0 @@ -{% extends "journal/base.html" %} - -{% block path %}<a href="/artifacts/">artifacts</a> - »<a href="/artifacts/images"> images</a>{% endblock %} - -{% block title %}Uploaded Images{% endblock %} - -{% block content %} -<br /> -{% if object_list %} -<table width="100%" class="thumbs"> -{% for item in object_list %} {% cycle <tr/>, , , %} - <td class="photo_thumb"> - <a href="{{ item.id }}/"> - <img src="{{ item.thumburl }}" - alt="{{ item.title }}" /> - </td> {% endfor %} -</table> -{% else %} -<p>There are no images! If you just uploaded a batch -of photos, try hitting your browser's reload button to see if they -show up.</p> {% endif %} - -{% if is_paginated %} {% if has_previous %} -<a href="./?page={{ previous }}">« previous</a> | -{% endif %} {% if has_next %} -<a href="./?page={{ next }}">next »</a> -{% endif %} {% endif %} -{% endblock %} diff --git a/bn_django/journal/templates/journal/linkartifact_detail.html b/bn_django/journal/templates/journal/linkartifact_detail.html deleted file mode 100644 index 70f9656..0000000 --- a/bn_django/journal/templates/journal/linkartifact_detail.html +++ /dev/null @@ -1,34 +0,0 @@ -{% extends "journal/base.html" %} - -{% load comments %} - -{% block path %}<a href="/artifacts/">artifacts</a> - »<a href="/artifacts/links/"> links</a> - »<a href="../{{ object.id }}"> {{ object.title }}</a> -{% endblock %} - -{% block title %} -{% if object.title %}{{ object.title }}{% else %}[Untitled Link]{% endif %} -{% endblock %} - -{% block content %}<br /> -{% if object %}<div class="right_stuff"> -<p class="date">Link created {{ object.date }}, -{% if object.author %}<br />by {{ object.author }},{% endif %} -{% if object.last_edited %}<br />last edited {{ object.last_edited }}.{% endif %} -</div> -<b><a href="{{object.url}}">{{object.url}}</a></b> -{% if object.html_caption %}<br /><br /> {{object.html_caption|safe}}{% endif %} -{% else %} -<p>This is not the artifact you are looking for.</p> -{% endif %} -{% endblock %} - -{% block commentary %} -<div class='content' id='commentary'> -{% get_comment_list for object as comments %} -{% include "comment_list" %} -<h3>Post a comment</h3> -{% render_comment_form for object %} -</div> -{% endblock %} diff --git a/bn_django/journal/templates/journal/linkartifact_list.html b/bn_django/journal/templates/journal/linkartifact_list.html deleted file mode 100644 index 136ce72..0000000 --- a/bn_django/journal/templates/journal/linkartifact_list.html +++ /dev/null @@ -1,43 +0,0 @@ -{% extends "journal/base.html" %} - -{% block otherhead %}{{ block.super}} -<link rel="alternate" type="application/rss+xml" title="RSS" href="/journal/rss/latest_links/"> -{% endblock %} - -{% block path %}<a href="/artifacts/">artifacts</a> - »<a href="/artifacts/links/"> links</a> -{% endblock %} - -{% block title %}Links Galore!{% endblock %} -{% block right_stuff %} -This page has an <a href="/journal/rss/latest_links/">RSS feed</a>. -{%endblock %} - -{% block content %} -New favorite finds from the net. Good posts from -<a href="/oldlinks">RSS feeds</a> -end up at <a href="http://feeds.bnewbold.net">feeds.bnewbold.net</a>. -<br /> -<br /> -{% if object_list %} -<ul style="list-style: none;margin-left:10px;"> - {% for item in object_list %} - <li style="margin-bottom: 8px;"/><a href="{{ item.id }}/" style="font-size:140%;">{{item.title}}</a> - {% if item.html_caption %} - "{{item.html_caption|safe|truncatewords_html:10}}"{%endif%} - <br /><i style="padding-left: 15px; font-size:90%;"> - added {{item.date|date:"D, M d, Y"}} - - <a href="{{ item.id }}/">more info</a> - - {{ item.url|urlizetrunc:70 }}</i> - {% endfor %} -</ul> -{% else %} -<p>No links have been entered yet.</p> -{% endif %} - -{% if is_paginated %} {% if has_previous %} -<a href="./?page={{ previous }}">« previous</a> | -{% endif %} {% if has_next %} -<a href="./?page={{ next }}">next »</a> -{% endif %} {% endif %} -{% endblock %} diff --git a/bn_django/journal/templates/journal/microentry_arhive_month.html b/bn_django/journal/templates/journal/microentry_arhive_month.html deleted file mode 100644 index eca642d..0000000 --- a/bn_django/journal/templates/journal/microentry_arhive_month.html +++ /dev/null @@ -1,31 +0,0 @@ -{% extends "journal/base.html" %} -{% load comments %} - -{% block path %}{{block.super}} - »<a href="/journal/microentries/"> microentries</a> - -{% block title %}Journal Microentries{% endblock %} - -{% block content %} -<br /> -{% if object_list %} - {% for item in object_list %} - <b>{{item.date|date:"D, d/m/Y @H:i"}}: - <a href="{{ item.get_absolute_url }}"> - {% if item.title %}{{item.title}}{%else%}[Untitled]{%endif%}</a></b> - <p style="padding-left:30px"> - {{ item.html_content|truncatewords_html:256 }} - {% get_comment_count for item as comment_count %} - (<a href="{{ item.get_absolute_url }}#commentary">{{ comment_count }} comments</a>) - </p> - {% endfor %} -{% else %} -<p>No entries have been entered yet!</p> -{% endif %} - -{% if is_paginated %} {% if has_previous %} -<a href="./?page={{ previous }}">« previous</a> | -{% endif %} {% if has_next %} -<a href="./?page={{ next }}">next »</a> -{% endif %} {% endif %} -{% endblock %} diff --git a/bn_django/journal/templates/journal/microentry_arhive_year.html b/bn_django/journal/templates/journal/microentry_arhive_year.html deleted file mode 100644 index eca642d..0000000 --- a/bn_django/journal/templates/journal/microentry_arhive_year.html +++ /dev/null @@ -1,31 +0,0 @@ -{% extends "journal/base.html" %} -{% load comments %} - -{% block path %}{{block.super}} - »<a href="/journal/microentries/"> microentries</a> - -{% block title %}Journal Microentries{% endblock %} - -{% block content %} -<br /> -{% if object_list %} - {% for item in object_list %} - <b>{{item.date|date:"D, d/m/Y @H:i"}}: - <a href="{{ item.get_absolute_url }}"> - {% if item.title %}{{item.title}}{%else%}[Untitled]{%endif%}</a></b> - <p style="padding-left:30px"> - {{ item.html_content|truncatewords_html:256 }} - {% get_comment_count for item as comment_count %} - (<a href="{{ item.get_absolute_url }}#commentary">{{ comment_count }} comments</a>) - </p> - {% endfor %} -{% else %} -<p>No entries have been entered yet!</p> -{% endif %} - -{% if is_paginated %} {% if has_previous %} -<a href="./?page={{ previous }}">« previous</a> | -{% endif %} {% if has_next %} -<a href="./?page={{ next }}">next »</a> -{% endif %} {% endif %} -{% endblock %} diff --git a/bn_django/journal/templates/journal/microentry_detail.html b/bn_django/journal/templates/journal/microentry_detail.html deleted file mode 100644 index 245fe32..0000000 --- a/bn_django/journal/templates/journal/microentry_detail.html +++ /dev/null @@ -1,32 +0,0 @@ -{% extends "journal/base.html" %} - -{% load comments %} -{% block path %}{{ block.super }} - »<a href="/journal/microentries/"> microentries</a> - »<a href="{{ item.get_absolute_url }}"> {{ object.title }}</a> -{% endblock %} - -{% block title %} -{% if object.title %}{{ object.title }}{% else %}[Untitled Microentry]{% endif %} -{% endblock %} - -{% block content %}<br /> -{% if object %}<div class="right_stuff"> -<p class="date">dated {{ object.date }}, -{% if object.author %}<br />written by {{ object.author.username }},{% endif %} -{% if object.last_edited %}<br />last edited {{ object.last_edited }}.{% endif %} -</div> -<p class="journal_entry">{{ object.html_content|safe }}</p> -{% else %} -<p>This is not the entry you are looking for.</p> -{% endif %} -{% endblock %} - -{% block commentary %} -<div class='content' id='commentary'> -{% get_comment_list for object as comments %} -{% include "comment_list" %} -<h3>Post a comment</h3> -{% render_comment_form for object %} -</div> -{% endblock %} diff --git a/bn_django/journal/templates/journal/microentry_list.html b/bn_django/journal/templates/journal/microentry_list.html deleted file mode 100644 index 25255f6..0000000 --- a/bn_django/journal/templates/journal/microentry_list.html +++ /dev/null @@ -1,39 +0,0 @@ -{% extends "journal/base.html" %} -{% load comments %} - -{% block otherhead %}{{ block.super}} -<link rel="alternate" type="application/rss+xml" title="RSS" href="/journal/rss/latest_microentries/"> -{% endblock %} - -{% block path %}{{block.super}} - »<a href="/journal/microentries/"> microentries</a>{% endblock %} - -{% block title %}Journal Microentries{% endblock %} - -{% block content %} -<br /> -<div class="notice"> -This page has an <a href="/journal/rss/latest_microentries/">RSS feed</a>. -</div> - -{% if object_list %} - {% for item in object_list %} - <b>{{item.date|date:"D, m/d/Y @H:i"}}: - {% if item.title %} - <a href="{{ item.get_absolute_url }}"> {{item.title}}</a>{%endif%}</b> - <p style="padding-left:30px"> - {{ item.html_content|truncatewords_html:256 }} - {% get_comment_count for item as comment_count %} - (<a href="{{ item.get_absolute_url }}#commentary">{{ comment_count }} comments</a>, <a href="{{ item.get_absolute_url }}">link</a>) - </p> - {% endfor %} -{% else %} -<p>No microentries have been entered yet!</p> -{% endif %} - -{% if is_paginated %} {% if has_previous %} -<a href="./?page={{ previous }}">« previous</a> | -{% endif %} {% if has_next %} -<a href="./?page={{ next }}">next »</a> -{% endif %} {% endif %} -{% endblock %} diff --git a/bn_django/journal/templates/journal/videoartifact_detail.html b/bn_django/journal/templates/journal/videoartifact_detail.html deleted file mode 100644 index 09b0ac2..0000000 --- a/bn_django/journal/templates/journal/videoartifact_detail.html +++ /dev/null @@ -1,35 +0,0 @@ -{% extends "journal/base.html" %} - -{% load comments %} -{% block path %}<a href="/artifacts/">artifacts</a> - »<a href="/artifacts/videos/"> videos</a> - »<a href="../{{ object.id }}"> {{ object.title }}</a> -{% endblock %} - -{% block title %} -{% if object.title %}{{ object.title }}{% else %}[Untitled Video]{% endif %} -{% endblock %} - -{% block content %}<br /> -{% if object %}<div class="right_stuff"> -<p class="date">Video uploaded {{ object.date }}, -{% if object.author %}<br />by {{ object.author }},{% endif %} -{% if object.last_edited %}<br />last edited {{ object.last_edited }}.{% endif %} -</div> -{% if object.external_url %}View this video <a href="{{object.external_url}}">here</a><br /><br />{%endif%} -<a href="{{object.filepath}}">Download the video.</a> -<br /><br />The video codec is {{ object.codec }}.<br /> -{% if object.html_caption %}<br /><br />{{object.html_caption|safe}}{% endif %} -{% else %} -<p>This is not the artifact you are looking for.</p> -{% endif %} -{% endblock %} - -{% block commentary %} -<div class='content' id='commentary'> -{% get_comment_list for object as comments %} -{% include "comment_list" %} -<h3>Post a comment</h3> -{% render_comment_form for object %} -</div> -{% endblock %} diff --git a/bn_django/journal/templates/journal/videoartifact_list.html b/bn_django/journal/templates/journal/videoartifact_list.html deleted file mode 100644 index b5af050..0000000 --- a/bn_django/journal/templates/journal/videoartifact_list.html +++ /dev/null @@ -1,27 +0,0 @@ -{% extends "journal/base.html" %} - -{% block path %}<a href="/artifacts/">artifacts</a> - »<a href="/artifacts/videos/"> videos</a> -{% endblock %} - -{% block title %}Videos{% endblock %} - -{% block content %} -<br /> -{% if object_list %} -<ul> - {% for item in object_list %} - <li /><a href="{{ item.id }}/">{{item.title}}</a> - {%if item.codec%} (codec: {{item.codec}}){% endif %} - {% endfor %} -</ul> -{% else %} -<p>No videos have been entered yet.</p> -{% endif %} - -{% if is_paginated %} {% if has_previous %} -<a href="./?page={{ previous }}">« previous</a> | -{% endif %} {% if has_next %} -<a href="./?page={{ next }}">next »</a> -{% endif %} {% endif %} -{% endblock %} |