# HG changeset patch # User Marcin Kuzminski # Date 2017-09-21 22:23:19 # Node ID de425417b2d389e28fa08f8d9d8c84c338744d4d # Parent 93ba9e953aafc2d23a141f8a70f551eea015706e white-list-access: improved UI. diff --git a/rhodecode/templates/admin/permissions/permissions_auth_token_access.mako b/rhodecode/templates/admin/permissions/permissions_auth_token_access.mako --- a/rhodecode/templates/admin/permissions/permissions_auth_token_access.mako +++ b/rhodecode/templates/admin/permissions/permissions_auth_token_access.mako @@ -16,15 +16,14 @@ E.g. adding `RepoFilesView.repo_file_raw http[s]://server.com/{repo_name}/raw/{commit_id}/{file_path}?auth_token=SECRET_TOKEN White list can be defined inside `${c.whitelist_file}` under `${c.whitelist_key}=` setting - -Currently under this settings following views are set: +Currently the following views are set:

-
+
 % for entry in c.whitelist_views:
 ${entry}
 % endfor
-    
+
@@ -49,7 +48,11 @@ Currently under this settings following % for route_name, view_fqn, view_url, active in c.view_data: - ${h.bool2icon(active)} + + % if active: + ${h.bool2icon(active)} + % endif + ${view_fqn} ${view_url}