summaryrefslogtreecommitdiff
path: root/app/views/projects/boards
diff options
context:
space:
mode:
authorKushal Pandya <kushal@gitlab.com>2016-12-22 15:00:56 +0530
committerKushal Pandya <kushal@gitlab.com>2016-12-31 11:43:08 +0530
commit71dc50f048ce5604e331f69cb50c4fa6b4a73bbb (patch)
tree4e6f28bfcb11ad7fea62022b0f075036d1a1f459 /app/views/projects/boards
parent21777aa1ff9f4b54258d8091b3864a1a08f73cb9 (diff)
downloadgitlab-ce-71dc50f048ce5604e331f69cb50c4fa6b4a73bbb.tar.gz
HAMLLint: fix `AltText` offences
Diffstat (limited to 'app/views/projects/boards')
-rw-r--r--app/views/projects/boards/components/_card.html.haml2
-rw-r--r--app/views/projects/boards/components/sidebar/_assignee.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/boards/components/_card.html.haml b/app/views/projects/boards/components/_card.html.haml
index 1f31496e73f..e4c2aff46ec 100644
--- a/app/views/projects/boards/components/_card.html.haml
+++ b/app/views/projects/boards/components/_card.html.haml
@@ -17,7 +17,7 @@
":title" => '"Assigned to " + issue.assignee.name',
"v-if" => "issue.assignee",
data: { container: 'body' } }
- %img.avatar.avatar-inline.s20{ ":src" => "issue.assignee.avatar", width: 20, height: 20 }
+ %img.avatar.avatar-inline.s20{ ":src" => "issue.assignee.avatar", width: 20, height: 20, alt: "Avatar" }
%button.label.color-label.has-tooltip{ "v-for" => "label in issue.labels",
type: "button",
"v-if" => "(!list.label || label.id !== list.label.id)",
diff --git a/app/views/projects/boards/components/sidebar/_assignee.html.haml b/app/views/projects/boards/components/sidebar/_assignee.html.haml
index 8fe1b832071..e75ce305440 100644
--- a/app/views/projects/boards/components/sidebar/_assignee.html.haml
+++ b/app/views/projects/boards/components/sidebar/_assignee.html.haml
@@ -14,7 +14,7 @@
%a.author_link.bold{ ":href" => "'#{root_url}' + issue.assignee.username",
"v-if" => "issue.assignee" }
%img.avatar.avatar-inline.s32{ ":src" => "issue.assignee.avatar",
- width: "32" }
+ width: "32", alt: "Avatar" }
%span.author
{{ issue.assignee.name }}
%span.username