diff --git a/Makefile b/Makefile
index a8098505..acf217a3 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ DESTDIR=build/web/$(CONFIG)
COPYUNCHANGED="false"
LOCALHOSTDIR=localhost:/srv/www/lua
TESTHOSTDIR=localhost:/srv/www/yavsc
-PREPRODHOSTDIR=lua.localdomain:/srv/yavsc
+PREPRODHOSTDIR=lua.localdomain:/srv/www/yavsc
PRODHOSTDIR=lua.localdomain:/srv/www/lua
DOCASSBS=NpgsqlBlogProvider.dll WorkFlowProvider.dll Yavsc.WebControls.dll ITContentProvider.dll NpgsqlMRPProviders.dll Yavsc.dll SalesCatalog.dll YavscModel.dll
diff --git a/WebControls/ResultPages.cs b/WebControls/ResultPages.cs
index 79e9b402..39c6bf8d 100644
--- a/WebControls/ResultPages.cs
+++ b/WebControls/ResultPages.cs
@@ -86,7 +86,10 @@ namespace Yavsc.WebControls
ViewState["CurrentPage"] = value;
}
}
-
+ ///
+ /// Renders the contents as the list of links to pages of results.
+ ///
+ /// Writer.
protected override void RenderContents (HtmlTextWriter writer)
{
if (ResultCount > 0 && ResultCount > ResultsPerPage ) {
@@ -105,11 +108,15 @@ namespace Yavsc.WebControls
writer.RenderEndTag ();
writer.Write (" ");
}
+ }
+
+ if (ResultCount == 0) {
+ writer.Write ("Pas de resultat");
+ } else {
writer.Write (ResultCount.ToString () + " resultat");
if (ResultCount>1) writer.Write("s");
- } else if ( ResultCount == 0 ) {
- writer.Write ("Pas de resultat");
}
+
}
}
}
diff --git a/web/Global.asax.cs b/web/Global.asax.cs
index fed7766c..345e8dd8 100644
--- a/web/Global.asax.cs
+++ b/web/Global.asax.cs
@@ -35,12 +35,6 @@ namespace Yavsc
"Blog/{user}/{title}",
new { controller = "Blogs", action = "Index", user=UrlParameter.Optional, title = UrlParameter.Optional }
);
-
- /*routes.MapRoute (
- "Default",
- "{controller}/{action}/{id}",
- new { controller = "Home", action = "Index", id = UrlParameter.Optional }
- );*/
routes.MapRoute (
"Default",
"{controller}/{action}/{user}/{title}",
diff --git a/web/packages.config b/web/packages.config
index a676dd8c..d5accee7 100644
--- a/web/packages.config
+++ b/web/packages.config
@@ -3,6 +3,6 @@
-
+
\ No newline at end of file