# HG changeset patch # User Mads Kiilerich # Date 2019-03-24 03:40:34 # Node ID e795ad3c7d5156ce722455726cfbe40740deb917 # Parent 353c5dcf9aa801f89732f1c3094b52990df48f7a pull-request: limit date tooltip on comments to the age itself diff --git a/kallithea/templates/changeset/changeset_file_comment.html b/kallithea/templates/changeset/changeset_file_comment.html --- a/kallithea/templates/changeset/changeset_file_comment.html +++ b/kallithea/templates/changeset/changeset_file_comment.html @@ -15,6 +15,7 @@ ${h.age(co.modified_at)} + %if co.pull_request: ${_("comment")} ${_('on pull request')} @@ -23,7 +24,6 @@ ${_('on this changeset')} %endif - %if co.author_id == request.authuser.user_id or h.HasRepoPermissionLevel('admin')(c.repo_name): %if co.deletable():