aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/git_browse/templates/git_browse/base.html
blob: 611d11d9f15e35e642966fc6499dce54e0292d35 (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
{% extends "base.html" %}

{% block stylesheets %}
{{ block.super }}
<link rel="STYLESHEET" type="text/css" href="/static/style/git_browse.css" />
{% endblock %}

{% block path %}
{{ block.super }}
<a href="/code">code</a>
{% if object %}
  &raquo; <a href="/code/{{ object.slug }}/">{{ object.name }}</a> 
  [<a href="/code/{{ object.slug }}/tree/">browse</a>, 
  <a href="/code/{{ object.slug }}/log/">log</a>]
{% endif %}
{% endblock %}

{% block title %}
{% if object %}
{{ object.name }}
{% endif %}
{% endblock %}

{% block content %}
{% if object %}
    {% block gitbrowse %}
    {% endblock %}
    <br />
    <span class="righty">
    <a href="/code/{{ object.slug }}/tree/">browse tree</a> - <a href="/code/{{ object.slug }}/log">full log</a>
    </span>
    <br />
{% else %}
<p>No such repository!</p>
{% endif %}

{% endblock %}