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

{% block stylesheets %}
{{ block.super }}
<link rel="STYLESHEET" type="text/css" href="style/git_browse.css">
<link rel="STYLESHEET" type="text/css" href="/style/git_browse.css">
<!--<link rel="STYLESHEET" type="text/css" href="http://static.bryannewbold.com/style/git_browse.css">-->

{% endblock %}

{% block path %}
{{ block.super }}
{% if object %}
  <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 %}