From 7f15ba6d31bae6ccb09e69df2be05de9b052a2ea Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 10 Dec 2009 15:30:35 +0000 Subject: UI fix, bumped to 0.3.3 --- Makefile | 2 +- samba-listfiles-html.lsp | 4 ++-- samba-listshares-html.lsp | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 9c3a7a1..cd250ac 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ APP_NAME=samba PACKAGE=acf-$(APP_NAME) -VERSION=0.3.2 +VERSION=0.3.3 APP_DIST=\ samba* \ diff --git a/samba-listfiles-html.lsp b/samba-listfiles-html.lsp index 13bd484..a4373fc 100644 --- a/samba-listfiles-html.lsp +++ b/samba-listfiles-html.lsp @@ -9,7 +9,7 @@ require("viewfunctions") end %>

<%= html.html_escape(data.label) %>

- +
@@ -25,7 +25,7 @@ end %> <% end %> -
File Size<%= html.html_escape(file.mtime) %>
+ <% if viewlibrary and viewlibrary.dispatch_component then viewlibrary.dispatch_component("startstop") diff --git a/samba-listshares-html.lsp b/samba-listshares-html.lsp index 7489601..0e36fdf 100644 --- a/samba-listshares-html.lsp +++ b/samba-listshares-html.lsp @@ -14,9 +14,6 @@ require("viewfunctions") Path Comment -<% if #view.value == 0 then %> -No Shares Found -<% end %> <% for i,share in ipairs(view.value) do %> @@ -33,6 +30,9 @@ No Shares Found <% end %> +<% if #view.value == 0 then %> +No Shares Found +<% end %> <% if viewlibrary and viewlibrary.dispatch_component and session.permissions.samba.createshare then %> -- cgit v1.2.3