Commit 4ea04c40 authored by Filipa Lacerda's avatar Filipa Lacerda

Adds tooltip to user image

parent f5d9b994
...@@ -26,15 +26,13 @@ ...@@ -26,15 +26,13 @@
%span{ "v-if" => "model.last_deployment.user" } %span{ "v-if" => "model.last_deployment.user" }
by by
%a{":href" => "model.last_deployment.user.web_url" } %a{":href" => "model.last_deployment.user.web_url" }
%img.avatar.has_tooltip.s20{ ":src" => "model.last_deployment.user.avatar_url", %img.avatar.has-tooltip.s20{ ":src" => "model.last_deployment.user.avatar_url",
":alt" => "model.last_deployment.user.username + `'s avatar`", ":alt" => "model.last_deployment.user.username + `'s avatar`",
":title" => "model.last_deployment.user.username", ":title" => "model.last_deployment.user.username"}
data: {container: "body" },
width: 20, height: 20}
%td %td
%a.build-link{ "v-if" => "!isFolder && model.last_deployment && model.last_deployment.deployable", %a.build-link{ "v-if" => "!isFolder && model.last_deployment && model.last_deployment.deployable",
":href" => "model.last_deployment.deployable.build_url" } ":href" => "model.last_deployment.deployable.build" }
{{model.last_deployment.deployable.name}} {{model.last_deployment.deployable.name}}
= precede "#" do = precede "#" do
{{model.last_deployment.deployable.id}} {{model.last_deployment.deployable.id}}
...@@ -47,7 +45,7 @@ ...@@ -47,7 +45,7 @@
%td %td
%span{ "v-if" => "!isFolder && model.last_deployment" } %span{ "v-if" => "!isFolder && model.last_deployment" }
{{model.created_at}} {{model.last_deployment.created_at}}
%td.hidden-xs %td.hidden-xs
.pull-right{ "v-if" => "!isFolder" } .pull-right{ "v-if" => "!isFolder" }
......
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