Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-07-23 13:18:51 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-07-23 13:18:51 +0400
commitf0bfeb6e33f8d3620b7d5d6da8439fbdf954d6cb (patch)
treeba5b41c3fbc5c796dc9dc8c60301b4612643d7fd /app
parent367445fdcde4d07a685610449a2ab4d43b1fc507 (diff)
Refactor explore area tests. Replaced old links
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app')
-rw-r--r--app/views/dashboard/_zero_authorized_projects.html.haml2
-rw-r--r--app/views/explore/projects/index.html.haml12
-rw-r--r--app/views/explore/projects/trending.html.haml2
-rw-r--r--app/views/layouts/_public_head_panel.html.haml2
4 files changed, 9 insertions, 9 deletions
diff --git a/app/views/dashboard/_zero_authorized_projects.html.haml b/app/views/dashboard/_zero_authorized_projects.html.haml
index ee086d88e3e..ff85e32bc4e 100644
--- a/app/views/dashboard/_zero_authorized_projects.html.haml
+++ b/app/views/dashboard/_zero_authorized_projects.html.haml
@@ -46,5 +46,5 @@
%br
Public projects are an easy way to allow everyone to have read-only access.
.link_holder
- = link_to public_projects_path, class: "btn btn-new" do
+ = link_to explore_projects_path, class: "btn btn-new" do
Browse public projects ยป
diff --git a/app/views/explore/projects/index.html.haml b/app/views/explore/projects/index.html.haml
index 32796c8b2b8..c8bf78385e8 100644
--- a/app/views/explore/projects/index.html.haml
+++ b/app/views/explore/projects/index.html.haml
@@ -1,6 +1,6 @@
.clearfix
.pull-left
- = form_tag public_projects_path, method: :get, class: 'form-inline form-tiny' do |f|
+ = form_tag explore_projects_path, method: :get, class: 'form-inline form-tiny' do |f|
.form-group
= search_field_tag :search, params[:search], placeholder: "Filter by name", class: "form-control search-text-input input-mn-300", id: "projects_search"
.form-group
@@ -17,15 +17,15 @@
%b.caret
%ul.dropdown-menu
%li
- = link_to public_projects_path(sort: nil) do
+ = link_to explore_projects_path(sort: nil) do
Name
- = link_to public_projects_path(sort: 'newest') do
+ = link_to explore_projects_path(sort: 'newest') do
Newest
- = link_to public_projects_path(sort: 'oldest') do
+ = link_to explore_projects_path(sort: 'oldest') do
Oldest
- = link_to public_projects_path(sort: 'recently_updated') do
+ = link_to explore_projects_path(sort: 'recently_updated') do
Recently updated
- = link_to public_projects_path(sort: 'last_updated') do
+ = link_to explore_projects_path(sort: 'last_updated') do
Last updated
%hr
diff --git a/app/views/explore/projects/trending.html.haml b/app/views/explore/projects/trending.html.haml
index 5b28273d5dd..18bb1ac0ba4 100644
--- a/app/views/explore/projects/trending.html.haml
+++ b/app/views/explore/projects/trending.html.haml
@@ -8,4 +8,4 @@
= render @trending_projects
.center
- = link_to 'Show all projects', public_projects_path, class: 'btn btn-primary'
+ = link_to 'Show all projects', explore_projects_path, class: 'btn btn-primary'
diff --git a/app/views/layouts/_public_head_panel.html.haml b/app/views/layouts/_public_head_panel.html.haml
index 63992a22f32..5d7f72e6b31 100644
--- a/app/views/layouts/_public_head_panel.html.haml
+++ b/app/views/layouts/_public_head_panel.html.haml
@@ -3,7 +3,7 @@
.container
%div.app_logo
%span.separator
- = link_to public_root_path, class: "home" do
+ = link_to explore_root_path, class: "home" do
%h1 GITLAB
%span.separator
%h1.title= title