Index: appengine/sheriff_o_matic/ui/ct-failure-stream.html |
diff --git a/appengine/sheriff_o_matic/ui/ct-failure-stream.html b/appengine/sheriff_o_matic/ui/ct-failure-stream.html |
index 49db9aca3d10a62ee8961becb11c095335394a5f..c9a6130b736c4075535ec69e710ce78a54f70f39 100644 |
--- a/appengine/sheriff_o_matic/ui/ct-failure-stream.html |
+++ b/appengine/sheriff_o_matic/ui/ct-failure-stream.html |
@@ -9,7 +9,7 @@ found in the LICENSE file. |
<link rel="import" href="ct-master-failure-card.html"> |
<link rel="import" href="ct-step-failure-card.html"> |
-<polymer-element name="ct-failure-stream" attributes="groups commitLog category caption" noscript> |
+<polymer-element name="ct-failure-stream" attributes="groups commitLog category caption"> |
<template> |
<style> |
:host { |
@@ -73,7 +73,7 @@ found in the LICENSE file. |
<template if="{{ group.bug }}"> |
<div class="bugs"> |
<span style="font-weight: bold">Bugs:</span> |
- <a href="{{ group.bug }}">{{ group.bugLabel }}</a> |
+ <a href="{{ bugLink(group.bug) }}">{{ group.bugLabel }}</a> |
</div> |
</template> |
<template if="{{ group.data.category == 'step' }}"> |
@@ -91,4 +91,11 @@ found in the LICENSE file. |
</template> |
</template> |
</template> |
+ <script> |
+ Polymer({ |
+ bugLink: function(bug) { |
+ return `http://crbug/${bug[0]}`; |
ghost stip (do not use)
2015/08/03 17:34:02
https!
https://en.wikipedia.org/wiki/HTTPS_Everyw
seanmccullough
2015/08/03 17:53:33
crbug redirects anyways, but yeah :)
|
+ } |
+ }); |
+ </script> |
</polymer-element> |