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
49f518c0
Commit
49f518c0
authored
Oct 24, 2019
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes the spacing of the CI icon in the last commit widget
parent
54bbaf83
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
37 deletions
+47
-37
app/assets/javascripts/repository/components/last_commit.vue
app/assets/javascripts/repository/components/last_commit.vue
+15
-13
spec/frontend/repository/components/__snapshots__/last_commit_spec.js.snap
...ository/components/__snapshots__/last_commit_spec.js.snap
+32
-24
No files found.
app/assets/javascripts/repository/components/last_commit.vue
View file @
49f518c0
...
@@ -125,6 +125,7 @@ export default {
...
@@ -125,6 +125,7 @@ export default {
</div>
</div>
<div
class=
"commit-actions flex-row"
>
<div
class=
"commit-actions flex-row"
>
<div
v-if=
"commit.signatureHtml"
v-html=
"commit.signatureHtml"
></div>
<div
v-if=
"commit.signatureHtml"
v-html=
"commit.signatureHtml"
></div>
<div
class=
"ci-status-link"
>
<gl-link
<gl-link
v-if=
"commit.latestPipeline"
v-if=
"commit.latestPipeline"
v-gl-tooltip
v-gl-tooltip
...
@@ -138,6 +139,7 @@ export default {
...
@@ -138,6 +139,7 @@ export default {
:aria-label=
"statusTitle"
:aria-label=
"statusTitle"
/>
/>
</gl-link>
</gl-link>
</div>
<div
class=
"commit-sha-group d-flex"
>
<div
class=
"commit-sha-group d-flex"
>
<div
class=
"label label-monospace monospace"
>
<div
class=
"label label-monospace monospace"
>
{{
showCommitId
}}
{{
showCommitId
}}
...
...
spec/frontend/repository/components/__snapshots__/last_commit_spec.js.snap
View file @
49f518c0
...
@@ -62,6 +62,9 @@ exports[`Repository last commit component renders commit widget 1`] = `
...
@@ -62,6 +62,9 @@ exports[`Repository last commit component renders commit widget 1`] = `
>
>
<!---->
<!---->
<div
class="ci-status-link"
>
<gllink-stub
<gllink-stub
class="js-commit-pipeline"
class="js-commit-pipeline"
data-original-title="Commit: failed"
data-original-title="Commit: failed"
...
@@ -75,6 +78,7 @@ exports[`Repository last commit component renders commit widget 1`] = `
...
@@ -75,6 +78,7 @@ exports[`Repository last commit component renders commit widget 1`] = `
status="[object Object]"
status="[object Object]"
/>
/>
</gllink-stub>
</gllink-stub>
</div>
<div
<div
class="commit-sha-group d-flex"
class="commit-sha-group d-flex"
...
@@ -165,6 +169,9 @@ exports[`Repository last commit component renders the signature HTML as returned
...
@@ -165,6 +169,9 @@ exports[`Repository last commit component renders the signature HTML as returned
</button>
</button>
</div>
</div>
<div
class="ci-status-link"
>
<gllink-stub
<gllink-stub
class="js-commit-pipeline"
class="js-commit-pipeline"
data-original-title="Commit: failed"
data-original-title="Commit: failed"
...
@@ -178,6 +185,7 @@ exports[`Repository last commit component renders the signature HTML as returned
...
@@ -178,6 +185,7 @@ exports[`Repository last commit component renders the signature HTML as returned
status="[object Object]"
status="[object Object]"
/>
/>
</gllink-stub>
</gllink-stub>
</div>
<div
<div
class="commit-sha-group d-flex"
class="commit-sha-group d-flex"
...
...
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