From 74a01633d06ba8987e9f4c914550fcffdf38d750 Mon Sep 17 00:00:00 2001 From: Mika Havela Date: Tue, 6 Oct 2009 08:53:11 +0200 Subject: Displaying existing roles by using
instead of using a table. This small fix causes this view to behave (follow same ideas) as other view-files. You notice the result when using other skins than 'alps'. --- app/acf-util/roles-viewroles-html.lsp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/app/acf-util/roles-viewroles-html.lsp b/app/acf-util/roles-viewroles-html.lsp index 9575ac6..8e01a00 100644 --- a/app/acf-util/roles-viewroles-html.lsp +++ b/app/acf-util/roles-viewroles-html.lsp @@ -15,19 +15,17 @@

Existing roles

+
<% if view.value.default_roles then %> - <% for x,role in pairs(view.value.default_roles.value) do %> - + <% end %> -
<%= html.html_escape(role) %>
+
<%= html.html_escape(role) %>
[View this role] [Edit this role] -
<% end %> <% if view.value.defined_roles then %> -
<% table.sort(view.value.defined_roles.value) %> <% for x,role in pairs(view.value.defined_roles.value) do %>
<%= html.html_escape(role) %>
@@ -39,3 +37,4 @@ <% end %>
<% end %> +
-- cgit v1.2.3