Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Unified Diff: appengine/sheriff_o_matic/ui/ct-failure-stream.html

Issue 1253173007: SoM: fix bug links (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698