BigW Consortium Gitlab

Commit 1b00f3a5 by Filipa Lacerda

Adds alt attribute in image tags

parent 8dd19c42
......@@ -18,6 +18,7 @@
%span{ "v-if" => "model.last_deployment.commit && model.last_deployment.commit.title"}
%a.avatar-image-container{"v-if" => "model.last_deployment.commit.author", ":href" => "model.last_deployment.commit.author.web_url"}
%img.avatar.has-tooltip.s20{":title" => "model.last_deployment.commit.author.username",
":alt" => "model.last_deployment.commit.author.username + `'s avatar`",
":src" => "model.last_deployment.commit.author.avatar_url"}
%a.commit-row-message{":href" => "model.last_deployment.commit.commit_url"}
{{model.last_deployment.commit.title}}
......
......@@ -27,7 +27,7 @@
by
%a{":href" => "'/' + model.last_deployment.user.username" }
%img.avatar.has_tooltip.s20{ ":src" => "model.last_deployment.user.avatar_url",
":alt" => "model.last_deployment.user.username + 'avatar'",
":alt" => "model.last_deployment.user.username + `'s avatar`",
":title" => "model.last_deployment.user.username",
data: {container: "body" },
width: 20, height: 20}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment