# HG changeset patch # User Andrew Shadura # Date 2015-01-14 17:59:40 # Node ID 28289731724bddcce3b7c4b994b88c9c383dcff6 # Parent 61d7fffbdf52c3c04276c702981c2373c012faa7 templates: use forward slash as path separator for consistency diff --git a/kallithea/templates/files/files.html b/kallithea/templates/files/files.html --- a/kallithea/templates/files/files.html +++ b/kallithea/templates/files/files.html @@ -3,7 +3,7 @@ <%def name="title(*args)"> ${_('%s Files') % c.repo_name} %if hasattr(c,'file'): - · ${h.safe_unicode(c.file.path) or '\\'} + · ${h.safe_unicode(c.file.path) or '/'} %endif %if c.site_name: @@ -81,7 +81,7 @@ var ypjax_links = function(){ var f_path = parts2.join('/'); //page title make this consistent with title() mako function on top - var title = "${_('%s Files') % c.repo_name}" + " · " + (f_path || '\\') + " · " + "${c.site_name}"; + var title = "${_('%s Files') % c.repo_name}" + " · " + (f_path || '/') + " · " + "${c.site_name}"; var _node_list_url = node_list_url.replace('__REV__',rev).replace('__FPATH__', f_path); var _url_base = url_base.replace('__REV__',rev);