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
3ca393ec
Commit
3ca393ec
authored
Jan 17, 2018
by
Oswaldo Ferreira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Solve key.vue and html.vue conflicts
parent
3b434acf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
60 deletions
+18
-60
app/assets/javascripts/deploy_keys/components/key.vue
app/assets/javascripts/deploy_keys/components/key.vue
+4
-27
app/assets/javascripts/notebook/cells/output/html.vue
app/assets/javascripts/notebook/cells/output/html.vue
+14
-33
No files found.
app/assets/javascripts/deploy_keys/components/key.vue
View file @
3ca393ec
...
...
@@ -4,6 +4,9 @@
import
tooltip
from
'
../../vue_shared/directives/tooltip
'
;
export
default
{
directives
:
{
tooltip
,
},
components
:
{
actionBtn
,
},
...
...
@@ -21,19 +24,6 @@
required
:
true
,
},
},
<<<<<<<
HEAD
|||||||
parent
of
f6ca52d31b
...
Merge
branch
'
sh-migrate-can-push-to-deploy-keys-projects-10-3
'
into
'
security-10-3
'
components
:
{
actionBtn
,
},
=======
directives
:
{
tooltip
,
},
components
:
{
actionBtn
,
},
>>>>>>>
f6ca52d31b
...
Merge
branch
'
sh-migrate-can-push-to-deploy-keys-projects-10-3
'
into
'
security-10-3
'
computed
:
{
timeagoDate
()
{
return
getTimeago
().
format
(
this
.
deployKey
.
created_at
);
...
...
@@ -72,24 +62,11 @@
</div>
<div
class=
"deploy-key-content prepend-left-default deploy-key-projects"
>
<a
<<<<<<<
HEAD
v-for=
"(project, i) in deployKey.projects"
|||||||
parent
of
f6ca52d31b
...
Merge
branch
'
sh-migrate-can-push-to-deploy-keys-projects-10-3
'
into
'
security-10-3
'
v-for=
"project in deployKey.projects"
=======
v-for=
"deployKeysProject in deployKey.deploy_keys_projects"
>
>>>>>> f6ca52d31b... Merge branch 'sh-migrate-can-push-to-deploy-keys-projects-10-3' into 'security-10-3'
v-for=
"(deployKeysProject, i) in deployKey.deploy_keys_projects"
class=
"label deploy-project-label"
<<<<<<<
HEAD
:href=
"project.full_path"
:key=
"i"
|||||||
parent
of
f6ca52d31b
...
Merge
branch
'
sh-migrate-can-push-to-deploy-keys-projects-10-3
'
into
'
security-10-3
'
:href=
"project.full_path"
=======
:href=
"deployKeysProject.project.full_path"
:title=
"tooltipTitle(deployKeysProject)"
v-tooltip
>
>>>>>> f6ca52d31b... Merge branch 'sh-migrate-can-push-to-deploy-keys-projects-10-3' into 'security-10-3'
>
{{
deployKeysProject
.
project
.
full_name
}}
<i
...
...
app/assets/javascripts/notebook/cells/output/html.vue
View file @
3ca393ec
<
script
>
<<<<<<<
HEAD
import
sanitize
from
'
sanitize-html
'
;
import
Prompt
from
'
../prompt.vue
'
;
|||||||
parent
of
1
c46e031c7
...
Merge
branch
'
fl-ipythin-10-3
'
into
'
security-10-3
'
import
Prompt
from
'
../prompt.vue
'
;
=======
import
sanitize
from
'
sanitize-html
'
;
import
Prompt
from
'
../prompt.vue
'
;
>>>>>>>
1
c46e031c7
...
Merge
branch
'
fl-ipythin-10-3
'
into
'
security-10-3
'
export
default
{
components
:
{
prompt
:
Prompt
,
},
<<<<<<<
HEAD
props
:
{
rawCode
:
{
type
:
String
,
required
:
true
,
},
},
};
|||||||
parent
of
1
c46e031c7
...
Merge
branch
'
fl-ipythin-10-3
'
into
'
security-10-3
'
},
components
:
{
prompt
:
Prompt
,
},
};
=======
},
components
:
{
prompt
:
Prompt
,
},
computed
:
{
sanitizedOutput
()
{
return
sanitize
(
this
.
rawCode
,
{
allowedTags
:
sanitize
.
defaults
.
allowedTags
.
concat
([
'
img
'
,
'
svg
'
,
]),
allowedAttributes
:
{
img
:
[
'
src
'
],
},
});
computed
:
{
sanitizedOutput
()
{
return
sanitize
(
this
.
rawCode
,
{
allowedTags
:
sanitize
.
defaults
.
allowedTags
.
concat
([
'
img
'
,
'
svg
'
,
]),
allowedAttributes
:
{
img
:
[
'
src
'
],
},
});
},
},
},
};
>>>>>>>
1
c46e031c7
...
Merge
branch
'
fl-ipythin-10-3
'
into
'
security-10-3
'
};
</
script
>
<
template
>
...
...
@@ -53,3 +33,4 @@ import Prompt from '../prompt.vue';
<div
v-html=
"sanitizedOutput"
></div>
</div>
</
template
>
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