summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
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