diff --git a/rhodecode/templates/files/files_ypjax.html b/rhodecode/templates/files/files_ypjax.html --- a/rhodecode/templates/files/files_ypjax.html +++ b/rhodecode/templates/files/files_ypjax.html @@ -4,6 +4,14 @@ %if c.annotate: - ${_('annotation')} %endif + %if c.file.is_dir(): + % if h.HasRepoPermissionAny('repository.write','repository.admin')(c.repo_name): + / + + + + % endif + %endif %if c.file.is_dir(): <%include file='files_browser.html'/> @@ -12,7 +20,7 @@ %endif %else: