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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
b1bf2d53
Commit
b1bf2d53
authored
Sep 27, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes after review
parent
dce6119d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
app/assets/javascripts/registry/components/collapsible_container.vue
...javascripts/registry/components/collapsible_container.vue
+6
-5
app/assets/javascripts/registry/components/table_registry.vue
...assets/javascripts/registry/components/table_registry.vue
+1
-2
No files found.
app/assets/javascripts/registry/components/collapsible_container.vue
View file @
b1bf2d53
...
...
@@ -29,6 +29,11 @@
isOpen
:
false
,
};
},
computed
:
{
clipboardText
()
{
return
`docker pull
${
this
.
repo
.
location
}
`
;
},
},
methods
:
{
...
mapActions
([
'
fetchRepos
'
,
...
...
@@ -51,10 +56,6 @@
.
catch
(()
=>
this
.
showError
(
errorMessagesTypes
.
DELETE_REPO
));
},
clipboardText
(
text
)
{
return
`docker pull
${
text
}
`
;
},
showError
(
message
)
{
Flash
((
errorMessages
[
message
]));
},
...
...
@@ -83,7 +84,7 @@
<clipboard-button
v-if=
"repo.location"
:text=
"clipboardText
(repo.location)
"
:text=
"clipboardText"
:title=
"repo.location"
/>
...
...
app/assets/javascripts/registry/components/table_registry.vue
View file @
b1bf2d53
...
...
@@ -38,8 +38,7 @@
]),
layers
(
item
)
{
const
pluralize
=
n__
(
'
layer
'
,
'
layers
'
,
item
.
layers
);
return
`
${
item
.
layers
}
${
pluralize
}
`
;
return
n__
(
'
%d layer
'
,
'
%d layers
'
,
item
.
layers
);
},
handleDeleteRegistry
(
registry
)
{
...
...
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