summaryrefslogtreecommitdiffstats
path: root/bn_django/git_browse/templates/git_browse/repository_list.html
blob: 106c0e8b447c01895336b658bbc1e8c3fe297ee3 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{% extends "git_browse/base.html" %}
{# {% load markup %} #}

{% block path %}code{% endblock %}
{% block title %}Code Repositories{% endblock %}

{% block content %}
<div class="notice">
Until this is better developed I would recommend trying <a href="http://git.bryannewbold.com/">gitweb</a>.
</div>
{% if object_list %}
{% for item in object_list %}
    <div class="righty"><br />
        <a href="{{ item.slug }}/tree/">browse</a> - 
        <a href="{{ item.slug }}/log/">changelog</a>
    </div>
    <h3><a href="{{ item.slug }}/">{{ item.name }}</a> (aka {{ item.slug }})</h3>
    {{ item.description }}
{% endfor %}
{% else %}
<p>No repositories have been set up 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 %}

<!--
{% if not user.is_anonymous %}
<p>
  <a href="{{admin_url}}/photos/gallery/add/">Create a new gallery.</a>
</p>
{% else %}
<p>
  <a href="/accounts/login/?next={{ request.path }}">
    Login</a> to create a new gallery.
</p>
{% endif %}
-->

{% endblock %}