Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | views: fix broken URLs involving hierarchical branch names | Eric Sunshine | 2015-01-11 | 1 | -6/+7 |
| | | | | | | | | | | | | | | | | | | | Git branch names can be hierarchical (for example, "wip/parser/fix"), however, git-arr does not take this into account when formulating URLs on branch, tree, and blobs pages. These URLs are dysfunctional because it is assumed incorrectly that a single "../" is sufficient to climb over the branch name when computing relative paths to resources higher in the hierarchy. This problem manifests as failure to load static resources (stylesheet, etc.), broken links to commits on branch pages, and malfunctioning breadcrumb trails. Fix this problem by computing the the proper number of "../" based upon the branch name, rather than assuming that a single "../" will work unconditionally. (This is analogous to the treatment already given to hierarchical pathnames in tree and blob views.) Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar> | ||||
* | views/tree.html: Fix lambda syntax0.13 | Alberto Bertogli | 2014-07-29 | 1 | -1/+1 |
| | | | | | | | Some versions of bottle.py don't deal well with the "if" inside the lambda, so work around it by just using comparison and simplifying the function. Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar> | ||||
* | Fix one-line 'if' termination in tree, blob templates | Vanya Sergeev | 2014-06-30 | 1 | -1/+3 |
| | | | | | | | | 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> | ||||
* | Initial commit0.01 | Alberto Bertogli | 2012-11-10 | 1 | -0/+54 |
Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar> |