Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
1bb462d8
Commit
1bb462d8
authored
Jun 12, 2017
by
Valery Sizov
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ce-to-ee' of gitlab.com:gitlab-org/gitlab-ee into ce-to-ee
parents
b209eb12
0c9569cf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
28 deletions
+0
-28
app/views/help/index.html.haml
app/views/help/index.html.haml
+0
-16
lib/gitlab.rb
lib/gitlab.rb
+0
-8
spec/views/help/index.html.haml_spec.rb
spec/views/help/index.html.haml_spec.rb
+0
-4
No files found.
app/views/help/index.html.haml
View file @
1bb462d8
...
...
@@ -4,26 +4,10 @@
Enterprise Edition
-
if
user_signed_in?
%span
=
Gitlab
::
VERSION
<
<<<<<<
HEAD
%small
=
link_to
Gitlab
::
REVISION
,
Gitlab
::
COM_URL
+
namespace_project_commits_path
(
'gitlab-org'
,
'gitlab-ee'
,
Gitlab
::
REVISION
)
-
if
current_application_settings
.
version_check_enabled
=
version_status_badge
%br
==
=====
%small
=
link_to
Gitlab
::
REVISION
,
Gitlab
::
COM_URL
+
namespace_project_commits_path
(
'gitlab-org'
,
'gitlab-ce'
,
Gitlab
::
REVISION
)
=
version_status_badge
%p
.slead
GitLab
is
open
source
software
to
collaborate
on
code
.
%br
Manage
git
repositories
with
fine-grained
access
controls
that
keep
your
code
secure
.
%br
Perform
code
reviews
and
enhance
collaboration
with
merge
requests
.
%br
Each
project
can
also
have
an
issue
tracker
and
a
wiki
.
%br
Used
by
more
than
100
,
000
organizations
,
GitLab
is
the
most
popular
solution
to
manage
git
repositories
on-premises
.
%br
>
>>>>>> ce-com/master
Read more about GitLab at
#{
link_to
promo_host
,
promo_url
,
target:
'_blank'
,
rel:
'noopener noreferrer'
}
.
-
if
current_application_settings
.
help_text
.
present?
%hr
...
...
lib/gitlab.rb
View file @
1bb462d8
require_dependency
'gitlab/git'
module
Gitlab
<<<<<<<
HEAD
SUBDOMAIN_REGEX
=
%r{
\A
https://[a-z0-9]+
\.
gitlab
\.
com
\z
}
COM_URL
=
'https://gitlab.com'
.
freeze
def
self
.
com?
# Check `gl_subdomain?` as well to keep parity with gitlab.com
Gitlab
.
config
.
gitlab
.
url
==
COM_URL
||
gl_subdomain?
=======
COM_URL
=
'https://gitlab.com'
.
freeze
def
self
.
com?
# Check `staging?` as well to keep parity with gitlab.com
Gitlab
.
config
.
gitlab
.
url
==
COM_URL
||
staging?
>>>>>>>
ce
-
com
/
master
end
def
self
.
gl_subdomain?
...
...
spec/views/help/index.html.haml_spec.rb
View file @
1bb462d8
...
...
@@ -21,11 +21,7 @@ describe 'help/index' do
render
expect
(
rendered
).
to
match
'8.0.2'
<<<<<<<
HEAD
expect
(
rendered
).
to
have_link
(
'abcdefg'
,
'https://gitlab.com/gitlab-org/gitlab-ee/commits/abcdefg'
)
=======
expect
(
rendered
).
to
have_link
(
'abcdefg'
,
'https://gitlab.com/gitlab-org/gitlab-ce/commits/abcdefg'
)
>>>>>>>
ce
-
com
/
master
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment