summaryrefslogtreecommitdiffabout
path: root/html.h
authorJohan Herland <johan@herland.net>2010-06-09 23:09:29 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2010-06-19 08:40:22 (UTC)
commit24fd7e54c82294efa68ecae5dd9cb8a8986c04bf (patch) (unidiff)
tree5a4824456d046f40717fc50686c1e03b5c6efdf4 /html.h
parentc93ef96aaf77437abeb552bd9e30973f90365f3a (diff)
downloadcgit-24fd7e54c82294efa68ecae5dd9cb8a8986c04bf.zip
cgit-24fd7e54c82294efa68ecae5dd9cb8a8986c04bf.tar.gz
cgit-24fd7e54c82294efa68ecae5dd9cb8a8986c04bf.tar.bz2
ui-shared: Teach "breadcrumb" navigation to path limit display beneath tab bar
When a path limit is in effect, and displayed directly beneath the tab bar, it should offer breadcrumb navigation (like what the 'tree' page does), to allow changing the path limit easily. Implementing this requires a robust way to link back to the current page with a changed ctx->qry.path, but without losing track of the other query arguments. This is solved by adding the new cgit_self_link() function, which is then invoked repeatedly by the new cgit_print_path_crumbs() function while manipulating ctx->qry.path. Signed-off-by: Johan Herland <johan@herland.net> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'html.h') (more/less context) (ignore whitespace changes)
0 files changed, 0 insertions, 0 deletions