summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-04-21 18:56:10 +0300
committerValery Sizov <vsv2711@gmail.com>2015-04-22 14:25:28 +0300
commitdb03dc318e41f93887f668969dd207268a3168dc (patch)
tree0cf07b0e339231214dac687af2ab91b7ae7493c9 /app/views/projects
parent759875387cab016897ec17c924ca3cea94c22387 (diff)
downloadgitlab-ci-refactoring_user_url.tar.gz
refactoring network related coderefactoring_user_url
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/_gitlab.html.haml2
-rw-r--r--app/views/projects/index.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/_gitlab.html.haml b/app/views/projects/_gitlab.html.haml
index 3dd759f..11f5866 100644
--- a/app/views/projects/_gitlab.html.haml
+++ b/app/views/projects/_gitlab.html.haml
@@ -1,6 +1,6 @@
.clearfix.light
.pull-left.fetch-status
- Fetched from GitLab (#{link_to current_user.url, current_user.url, no_turbolink})
+ Fetched from GitLab (#{link_to GitlabCi.config.gitlab_server.url, GitlabCi.config.gitlab_server.url, no_turbolink})
- if params[:search].present?
by keyword: "#{params[:search]}",
#{time_ago_in_words(current_user.sync_at)} ago.
diff --git a/app/views/projects/index.html.haml b/app/views/projects/index.html.haml
index 824ba80..4ec8f68 100644
--- a/app/views/projects/index.html.haml
+++ b/app/views/projects/index.html.haml
@@ -8,7 +8,7 @@
.projects
%p.fetch-status.light
%i.icon-refresh.icon-spin
- Please wait while we fetch from GitLab (#{current_user.url})
+ Please wait while we fetch from GitLab (#{GitlabCi.config.gitlab_server.url})
:javascript
$.get("#{gitlab_projects_path}")
- else