aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/journal/templates/journal/codeartifact_list.html
blob: ee52afd4486f6f1c69428916d9ebabfb8a64eb9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{% extends "journal/base.html" %}

{% block path %}<a href="/artifacts/">artifacts</a>
  &raquo;<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 }}">&laquo; previous</a> |
{% endif %} {% if has_next %}
<a href="./?page={{ next }}">next &raquo;</a>
{% endif %} {% endif %}
{% endblock %}