summaryrefslogtreecommitdiff
path: root/views
Commit message (Collapse)AuthorAgeFilesLines
* Fix one-line 'if' termination in tree, blob templatesVanya Sergeev2014-06-302-2/+6
| | | | | | | | The missing '% end' template keyword to these one-line if statements was causing bottle 0.12.7 to incorrectly indent the following line, leading to an IndentationError at runtime when the blob and tree templates are compiled. Signed-off-by: Vanya Sergeev <vsergeev@gmail.com>
* Fix committer field in the commit view0.12Alberto Bertogli2013-11-031-4/+4
| | | | | | | The commit view shows the author information in the committer field; this patch fixes it by showing the appropriate fields. Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
* Show the age of a repository in the index, via javascriptAlberto Bertogli2013-11-021-1/+3
| | | | | | | | | This patch adds the age of the repository to the index view, using javascript to give a nice human string for the age. When javascript is not available, the element remains hidden. Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
* Make embedding markdown and images configurable per-repoAlberto Bertogli2013-11-021-2/+2
| | | | | | | | This patch introduces the embed_markdown and embed_images configuration options, so users can enable and disable those features on a per-repository basis. Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
* Add embed data URI image blob supportVanya Sergeev2013-11-021-1/+3
|
* Add markdown blob supportVanya Sergeev2013-11-021-1/+3
|
* Use heuristics to decide what to colorizeAlberto Bertogli2012-11-182-2/+2
| | | | | | | In practise pygments seems to have a very hard time processing large files and files with long lines, so try to avoid using it in those cases. Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
* Initial commit0.01Alberto Bertogli2012-11-108-0/+390
Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>