changeset 4767:28289731724b

templates: use forward slash as path separator for consistency
author Andrew Shadura <andrew@shadura.me>
date Wed, 14 Jan 2015 17:59:40 +0100
parents 61d7fffbdf52
children ea2cc8a85280
files kallithea/templates/files/files.html
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/templates/files/files.html	Wed Jan 14 17:45:22 2015 +0100
+++ b/kallithea/templates/files/files.html	Wed Jan 14 17:59:40 2015 +0100
@@ -3,7 +3,7 @@
 <%def name="title(*args)">
     ${_('%s Files') % c.repo_name}
     %if hasattr(c,'file'):
-        &middot; ${h.safe_unicode(c.file.path) or '\\'}
+        &middot; ${h.safe_unicode(c.file.path) or '/'}
     %endif
 
     %if c.site_name:
@@ -81,7 +81,7 @@
         var f_path = parts2.join('/');
 
         //page title make this consistent with title() mako function on top
-        var title = "${_('%s Files') % c.repo_name}" + " &middot; " + (f_path || '\\') + " &middot; " + "${c.site_name}";
+        var title = "${_('%s Files') % c.repo_name}" + " &middot; " + (f_path || '/') + " &middot; " + "${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);