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
fd26a173
Commit
fd26a173
authored
Apr 25, 2019
by
Dmitriy Zaporozhets
Committed by
mfluharty
May 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix dependency proxy invalid method name
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
26a5f60f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
ee/app/controllers/groups/dependency_proxies_controller.rb
ee/app/controllers/groups/dependency_proxies_controller.rb
+1
-1
ee/app/views/groups/dependency_proxies/_url.html.haml
ee/app/views/groups/dependency_proxies/_url.html.haml
+1
-1
ee/spec/features/groups/dependency_proxy_spec.rb
ee/spec/features/groups/dependency_proxy_spec.rb
+1
-1
No files found.
ee/app/controllers/groups/dependency_proxies_controller.rb
View file @
fd26a173
...
@@ -7,7 +7,7 @@ module Groups
...
@@ -7,7 +7,7 @@ module Groups
def
show
def
show
@blobs_count
=
group
.
dependency_proxy_blobs
.
count
@blobs_count
=
group
.
dependency_proxy_blobs
.
count
@blobs_total_size
=
group
.
dependency_proxy_blobs
.
size_sum
@blobs_total_size
=
group
.
dependency_proxy_blobs
.
total_size
end
end
def
update
def
update
...
...
ee/app/views/groups/dependency_proxies/_url.html.haml
View file @
fd26a173
...
@@ -4,4 +4,4 @@
...
@@ -4,4 +4,4 @@
=
text_field_tag
:url
,
"
#{
group_url
(
@group
)
}
/dependency_proxy/containers"
,
class:
'js-dependency-proxy-url form-control'
,
readonly:
true
=
text_field_tag
:url
,
"
#{
group_url
(
@group
)
}
/dependency_proxy/containers"
,
class:
'js-dependency-proxy-url form-control'
,
readonly:
true
.help-block.prepend-top-5
.help-block.prepend-top-5
Contains
#{
@blobs_count
}
blobs of images (
#{
number_to_human_size
(
@blobs_total_size
)
}
)
Contains
#{
@blobs_count
}
blobs of images (
#{
number_to_human_size
(
@blobs_total_size
)
}
)
\ No newline at end of file
ee/spec/features/groups/dependency_proxy_spec.rb
View file @
fd26a173
...
@@ -75,4 +75,4 @@ describe 'Group Dependency Proxy' do
...
@@ -75,4 +75,4 @@ describe 'Group Dependency Proxy' do
end
end
end
end
end
end
end
end
\ No newline at end of file
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