aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/templates
diff options
context:
space:
mode:
authorbnewbold <bnewbold@manus.(none)>2007-03-04 12:33:37 -0800
committerbnewbold <bnewbold@manus.(none)>2007-03-04 12:33:37 -0800
commit3a0e84add08b0028d4b08728073ddf9945dc3be0 (patch)
tree338327b8b1e67eb70b4a6e9893bb945f5c07a20a /bn_django/templates
parent7444d8455bff2d0de4ec48bee9e3ab4e843ca909 (diff)
downloadbnewnet-3a0e84add08b0028d4b08728073ddf9945dc3be0.tar.gz
bnewnet-3a0e84add08b0028d4b08728073ddf9945dc3be0.zip
added GITWIKI_DIR var and added new knowledge to frontpage
Diffstat (limited to 'bn_django/templates')
-rw-r--r--bn_django/templates/frontpage.html1
-rw-r--r--bn_django/templates/newknowldge_table13
2 files changed, 14 insertions, 0 deletions
diff --git a/bn_django/templates/frontpage.html b/bn_django/templates/frontpage.html
index dc3f450..d3eed9d 100644
--- a/bn_django/templates/frontpage.html
+++ b/bn_django/templates/frontpage.html
@@ -39,6 +39,7 @@ For more recent content see the <a href="/timeline/">timeline</a>
<div class="col_right">
<div class="col_title">Latest knowledge</div>
{% if latest_knowledge %}
+{% include "newknowldge_table" %}
{% else %}
None yet!
<br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br />
diff --git a/bn_django/templates/newknowldge_table b/bn_django/templates/newknowldge_table
new file mode 100644
index 0000000..686a12f
--- /dev/null
+++ b/bn_django/templates/newknowldge_table
@@ -0,0 +1,13 @@
+{% if latest_knowledge %}
+<table class="listing">
+{% for l in latest_knowledge %}
+<tr>
+ <td class="date">
+ {{ l.date }}</td>
+ <td class="description">
+ <a href="/k/commit/{{ l.hash }}/" class="description">
+ {{ l.description|truncatewords:6 }}</a></td>
+ </tr>
+{% endfor %}
+</table>
+{% else %}No shortlog!{% endif %}