##// END OF EJS Templates
access control: fix owner checks - they were always true...
access control: fix owner checks - they were always true The lambda expressions seems to be left over from something else. They were no longer executed and thus always evaluated to true. Some of the functions also failed if they were executed.

File last commit:

r2996:ebe3e388 beta
r3141:a45191e7 beta
Show More
patch_changeset.html
17 lines | 437 B | text/html | HtmlLexer
%if h.is_hg(c.rhodecode_repo):
# ${c.rhodecode_repo.alias.upper()} changeset patch
# User ${c.changeset.author|n}
# Date ${c.changeset.date}
# Node ID ${c.changeset.raw_id}
${c.parent_tmpl}
${c.changeset.message}
%elif h.is_git(c.rhodecode_repo):
From 35d9475598be9f807cd800e51212b8f1efbeacd9 Mon Sep 17 00:00:00 2001
From: ${c.changeset.author}
Date: ${c.changeset.date}
Subject: [PATCH] ${c.changeset.message}
---
%endif
${c.diff|n}