git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
listing all pastes works
[phorkie.git]
/
data
/
templates
/
display.htm
diff --git
a/data/templates/display.htm
b/data/templates/display.htm
index ea2e2cd8a69f827ca4bb8b4e755a69d7bce13657..afdc75c72b55ebb3c8aef351fa98fe421b88143d 100644
(file)
--- a/
data/templates/display.htm
+++ b/
data/templates/display.htm
@@
-3,14
+3,17
@@
{% block content %}
<h1>{{repo.getDescription}}</h1>
{% block content %}
<h1>{{repo.getDescription}}</h1>
-<p><a href="{{repo.getLink('edit')}}">edit</a></p>
+<ul class="links">
+ <li><a href="{{repo.getLink('edit')}}">edit</a></li>
+ <li><a href="{{repo.getLink('fork')}}">fork</a></li>
+</ul>
{% for file in repo.getFiles %}
<div>
{% for file in repo.getFiles %}
<div>
- <h2
>{{file.getFilename}}
</h2>
+ <h2
id="{{file.getFilename}}">{{file.getFilename}}<a class="anchorlink" href="#{{file.getFilename}}"></a>
</h2>
<p>
<a href="{{file.getLink('raw')}}">raw</a>
</p>
<p>
<a href="{{file.getLink('raw')}}">raw</a>
</p>
- <pre>{{file.getContent}}</pre>
+ {{file.getHighlightedContent|raw}}
</div>
{% endfor %}
{% endblock %}
</div>
{% endfor %}
{% endblock %}