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
795ce9dc
Commit
795ce9dc
authored
Nov 15, 2016
by
Alfredo Sumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wrap components with a single element for Vue 2 compatibility
parent
76421f66
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
59 additions
and
55 deletions
+59
-55
app/assets/javascripts/cycle_analytics/components/item_commit_component.js.es6
...s/cycle_analytics/components/item_commit_component.js.es6
+27
-25
app/assets/javascripts/cycle_analytics/components/item_issue_component.js.es6
...ts/cycle_analytics/components/item_issue_component.js.es6
+32
-30
No files found.
app/assets/javascripts/cycle_analytics/components/item_commit_component.js.es6
View file @
795ce9dc
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
commit: Object,
commit: Object,
},
},
template: `
template: `
<div>
<div class="item-details item-conmmit-component">
<div class="item-details item-conmmit-component">
<h5 class="item-title">
<h5 class="item-title">
<a href="commit.url">{{ commit.title }}</a>
<a href="commit.url">{{ commit.title }}</a>
...
@@ -44,6 +45,7 @@
...
@@ -44,6 +45,7 @@
<abbr title="Minutes">mins</abbr>
<abbr title="Minutes">mins</abbr>
</span>
</span>
</div>
</div>
<div>
`,
`,
});
});
}(window.gl || (window.gl = {})));
}(window.gl || (window.gl = {})));
app/assets/javascripts/cycle_analytics/components/item_issue_component.js.es6
View file @
795ce9dc
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
issue: Object,
issue: Object,
},
},
template: `
template: `
<div>
<div class="item-details">
<div class="item-details">
<img class="avatar" src="https://secure.gravatar.com/avatar/3731e7dd4f2b4fa8ae184c0a7519dd58?s=64&d=identicon">
<img class="avatar" src="https://secure.gravatar.com/avatar/3731e7dd4f2b4fa8ae184c0a7519dd58?s=64&d=identicon">
<h5 class="item-title">
<h5 class="item-title">
...
@@ -53,6 +54,7 @@
...
@@ -53,6 +54,7 @@
<abbr title="Minutes">mins</abbr>
<abbr title="Minutes">mins</abbr>
</span>
</span>
</div>
</div>
</div>
`,
`,
});
});
})(window.gl || (window.gl = {}));
})(window.gl || (window.gl = {}));
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