summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatoshi Nakamatsu <satoshicano@gmail.com>2019-02-13 12:42:29 +0000
committerAnnabel Dunstone Gray <annabel.m.gray@gmail.com>2019-02-13 12:42:29 +0000
commitad487147c6b8d81630b15db5ecf65c3862339ca6 (patch)
treec99b06b622a1e297951a8513e2145141befa7df2
parent6cbffb8aad43d720d1e73f515139d6a406ffe2a9 (diff)
downloadgitlab-ce-ad487147c6b8d81630b15db5ecf65c3862339ca6.tar.gz
add title attr to display file name
-rw-r--r--app/assets/javascripts/vue_shared/components/file_row.vue1
-rw-r--r--changelogs/unreleased/add-title-attribute-to-file-row.yml5
2 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/javascripts/vue_shared/components/file_row.vue b/app/assets/javascripts/vue_shared/components/file_row.vue
index f54033efc54..0cbcdbf2eb4 100644
--- a/app/assets/javascripts/vue_shared/components/file_row.vue
+++ b/app/assets/javascripts/vue_shared/components/file_row.vue
@@ -136,6 +136,7 @@ export default {
<div
v-else
:class="fileClass"
+ :title="file.name"
class="file-row"
role="button"
@click="clickFile"
diff --git a/changelogs/unreleased/add-title-attribute-to-file-row.yml b/changelogs/unreleased/add-title-attribute-to-file-row.yml
new file mode 100644
index 00000000000..c68d3d544e7
--- /dev/null
+++ b/changelogs/unreleased/add-title-attribute-to-file-row.yml
@@ -0,0 +1,5 @@
+---
+title: add title attribute to display file name
+merge_request: 25154
+author: Satoshi Nakamatsu @satoshicano
+type: added