@{
var permitted = new WebGrid(source: model.Value, defaultSort: "Name", rowsPerPage: 15);
+ string defaultView = System.Configuration.ConfigurationManager.AppSettings["DefaultRepositoriesView"] ?? "Detail";
var columns = new List
();
@@ -129,7 +130,7 @@
format: (item) => Html.ActionLink(
GetNameToDisplay((string)item.Name, (RepositoryDetailStatus)item.Status),
- "Detail",
+ defaultView,
new { id = item.Id },
new
{
diff --git a/Bonobo.Git.Server/packages.config b/Bonobo.Git.Server/packages.config
index 03ed7230a..df8a3c6ef 100644
--- a/Bonobo.Git.Server/packages.config
+++ b/Bonobo.Git.Server/packages.config
@@ -2,12 +2,12 @@
-
+
@@ -31,11 +31,13 @@
+
+
diff --git a/Bonobo.Git.Server/web.config b/Bonobo.Git.Server/web.config
index 7272fea61..498111aa2 100644
--- a/Bonobo.Git.Server/web.config
+++ b/Bonobo.Git.Server/web.config
@@ -132,6 +132,10 @@
+
+
+
+