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
889488db
Commit
889488db
authored
Nov 12, 2019
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correctly show commit description
https://gitlab.com/gitlab-org/gitlab/issues/36152
parent
af4b0838
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/assets/javascripts/repository/components/last_commit.vue
app/assets/javascripts/repository/components/last_commit.vue
+2
-2
app/assets/javascripts/repository/queries/pathLastCommit.query.graphql
...vascripts/repository/queries/pathLastCommit.query.graphql
+1
-1
No files found.
app/assets/javascripts/repository/components/last_commit.vue
View file @
889488db
...
@@ -109,7 +109,7 @@ export default {
...
@@ -109,7 +109,7 @@ export default {
class="text-expander"
class="text-expander"
@click="toggleShowDescription"
@click="toggleShowDescription"
>
>
<icon
name=
"ellipsis_h"
/>
<icon
name=
"ellipsis_h"
:size=
"10"
/>
</gl-button>
</gl-button>
<div
class=
"committer"
>
<div
class=
"committer"
>
<gl-link
<gl-link
...
@@ -124,7 +124,7 @@ export default {
...
@@ -124,7 +124,7 @@ export default {
</div>
</div>
<pre
<pre
v-if=
"commit.description"
v-if=
"commit.description"
v-show=
"showDescription
"
:class=
"
{ 'd-block': showDescription }
"
class="commit-row-description append-bottom-8"
class="commit-row-description append-bottom-8"
>
>
{{
commit
.
description
}}
{{
commit
.
description
}}
...
...
app/assets/javascripts/repository/queries/pathLastCommit.query.graphql
View file @
889488db
...
@@ -5,7 +5,7 @@ query pathLastCommit($projectPath: ID!, $path: String, $ref: String!) {
...
@@ -5,7 +5,7 @@ query pathLastCommit($projectPath: ID!, $path: String, $ref: String!) {
lastCommit
{
lastCommit
{
sha
sha
title
title
message
description
webUrl
webUrl
authoredDate
authoredDate
author
{
author
{
...
...
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