From 2d2ca998b79debb06af91e4d7c3ff884aff4e61d Mon Sep 17 00:00:00 2001 From: yan Date: Wed, 27 May 2020 15:46:27 +0800 Subject: [PATCH 1/4] remove unused search filter --- custom/templates/datasets/dataset_list.tmpl | 6 ------ templates/datasets/dataset_search.tmpl | 1 - 2 files changed, 7 deletions(-) diff --git a/custom/templates/datasets/dataset_list.tmpl b/custom/templates/datasets/dataset_list.tmpl index b96410093..c00abea33 100644 --- a/custom/templates/datasets/dataset_list.tmpl +++ b/custom/templates/datasets/dataset_list.tmpl @@ -11,14 +11,8 @@ diff --git a/templates/datasets/dataset_search.tmpl b/templates/datasets/dataset_search.tmpl index bab6c87b2..ef057f1e4 100644 --- a/templates/datasets/dataset_search.tmpl +++ b/templates/datasets/dataset_search.tmpl @@ -9,7 +9,6 @@ {{.i18n.Tr "repo.issues.filter_sort.oldest"}} {{.i18n.Tr "repo.issues.filter_sort.recentupdate"}} {{.i18n.Tr "repo.issues.filter_sort.leastupdate"}} - {{.i18n.Tr "repo.issues.filter_sort.mostforks"}} From 96e4a3b366b8da7f518b15936ac09a5062f2c9ec Mon Sep 17 00:00:00 2001 From: yan Date: Wed, 27 May 2020 15:53:53 +0800 Subject: [PATCH 2/4] fix mobile layout in dataset list --- custom/templates/datasets/index.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom/templates/datasets/index.tmpl b/custom/templates/datasets/index.tmpl index 6064cf973..0b0ab2d59 100644 --- a/custom/templates/datasets/index.tmpl +++ b/custom/templates/datasets/index.tmpl @@ -5,11 +5,11 @@
{{template "explore/navbar" .}} -
+
{{template "datasets/dataset_list" .}} {{template "base/paginate" .}}
-
+
{{template "explore/repo_right" .}}
From 2794267f425bf050becbf41ed2cc417f87e73fbc Mon Sep 17 00:00:00 2001 From: yan Date: Wed, 27 May 2020 17:17:54 +0800 Subject: [PATCH 3/4] improve mobile style --- custom/templates/datasets/index.tmpl | 2 +- custom/templates/explore/navbar.tmpl | 2 +- custom/templates/explore/repos.tmpl | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/custom/templates/datasets/index.tmpl b/custom/templates/datasets/index.tmpl index 0b0ab2d59..b3342fe4a 100644 --- a/custom/templates/datasets/index.tmpl +++ b/custom/templates/datasets/index.tmpl @@ -9,7 +9,7 @@ {{template "datasets/dataset_list" .}} {{template "base/paginate" .}}
-
+
{{template "explore/repo_right" .}}
diff --git a/custom/templates/explore/navbar.tmpl b/custom/templates/explore/navbar.tmpl index 0f8404cd8..0a89a8e7d 100644 --- a/custom/templates/explore/navbar.tmpl +++ b/custom/templates/explore/navbar.tmpl @@ -18,7 +18,7 @@
-