From e16f4b2ac73b0e55d15603403f46e24a319a8eea Mon Sep 17 00:00:00 2001
From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com>
Date: Wed, 7 Jul 2010 06:20:28 +0000
Subject: [PATCH] PageOuter UX improved
---
Builder/IISMainHandler/build.txt | 2 +-
Builder/IISUploadHandler/build.txt | 2 +-
IISMainHandler/PageOuter.cs | 3 ++-
templates/Full/elems/ThreadInfo.xslt | 12 +++++++-----
4 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/Builder/IISMainHandler/build.txt b/Builder/IISMainHandler/build.txt
index 236c7c7..e78e423 100644
--- a/Builder/IISMainHandler/build.txt
+++ b/Builder/IISMainHandler/build.txt
@@ -1 +1 @@
-623
\ No newline at end of file
+627
\ No newline at end of file
diff --git a/Builder/IISUploadHandler/build.txt b/Builder/IISUploadHandler/build.txt
index 2a9c18a..e24b797 100644
--- a/Builder/IISUploadHandler/build.txt
+++ b/Builder/IISUploadHandler/build.txt
@@ -1 +1 @@
-357
\ No newline at end of file
+361
\ No newline at end of file
diff --git a/IISMainHandler/PageOuter.cs b/IISMainHandler/PageOuter.cs
index a06a574..8bffdfa 100644
--- a/IISMainHandler/PageOuter.cs
+++ b/IISMainHandler/PageOuter.cs
@@ -63,7 +63,8 @@ namespace FLocal.IISHandler {
new XElement("start", this.start),
new XElement("count", this.count),
new XElement("total", this.total),
- new XElement("perPage", this.perPage)
+ new XElement("perPage", this.perPage),
+ new XElement("isEmpty", (this.perPage >= this.total).ToPlainString())
);
if(this.count > 0) {
if(this.start + this.count < this.total) {
diff --git a/templates/Full/elems/ThreadInfo.xslt b/templates/Full/elems/ThreadInfo.xslt
index 21084ac..259f619 100644
--- a/templates/Full/elems/ThreadInfo.xslt
+++ b/templates/Full/elems/ThreadInfo.xslt
@@ -44,11 +44,13 @@