summaryrefslogtreecommitdiff
path: root/app/views/explore
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-01-28 09:05:00 +0000
committerPhil Hughes <me@iamphill.com>2016-01-28 09:06:20 +0000
commit22e81f5dbe49a04d4df1fefe53a06dd561ffb6b9 (patch)
treec900172374b984a10a5c30e6052acba39d52e07a /app/views/explore
parentca171b8190623023f3e6d00146abee8651cec857 (diff)
downloadgitlab-ce-22e81f5dbe49a04d4df1fefe53a06dd561ffb6b9.tar.gz
Removed sorted text from dropdowns
Closes #12796
Diffstat (limited to 'app/views/explore')
-rw-r--r--app/views/explore/groups/index.html.haml2
-rw-r--r--app/views/explore/projects/_dropdown.html.haml3
2 files changed, 2 insertions, 3 deletions
diff --git a/app/views/explore/groups/index.html.haml b/app/views/explore/groups/index.html.haml
index fcb07b04083..8ffca96bb4e 100644
--- a/app/views/explore/groups/index.html.haml
+++ b/app/views/explore/groups/index.html.haml
@@ -18,7 +18,7 @@
.pull-right
.dropdown.inline
%button.dropdown-toggle.btn{type: 'button', 'data-toggle' => 'dropdown'}
- %span.light sort:
+ %span.light
- if @sort.present?
= sort_options_hash[@sort]
- else
diff --git a/app/views/explore/projects/_dropdown.html.haml b/app/views/explore/projects/_dropdown.html.haml
index b23a3c1e5c1..a988d4c8154 100644
--- a/app/views/explore/projects/_dropdown.html.haml
+++ b/app/views/explore/projects/_dropdown.html.haml
@@ -1,6 +1,6 @@
.dropdown.inline
%button.dropdown-toggle.btn{type: 'button', 'data-toggle' => 'dropdown'}
- %span.light sort:
+ %span.light
- if @sort.present?
= sort_options_hash[@sort]
- elsif current_page?(trending_explore_projects_path) || current_page?(explore_root_path)
@@ -24,4 +24,3 @@
= sort_title_recently_updated
= link_to explore_projects_filter_path(sort: sort_value_oldest_updated) do
= sort_title_oldest_updated
-