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

Unified Diff: web/apps/logdog-view/elements/logdog-view/logdog-view.html

Issue 2860453003: LogDog Viewer: Link back to source build. (Closed)
Patch Set: comments Created 3 years, 8 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 | web/inc/logdog-stream-view/logdog-stream-view.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: web/apps/logdog-view/elements/logdog-view/logdog-view.html
diff --git a/web/apps/logdog-view/elements/logdog-view/logdog-view.html b/web/apps/logdog-view/elements/logdog-view/logdog-view.html
index 8a528d49f89aefc038748d65d840cb1f45131fa4..2ac08b5f054b0d050c7765439add0af279cf92e4 100644
--- a/web/apps/logdog-view/elements/logdog-view/logdog-view.html
+++ b/web/apps/logdog-view/elements/logdog-view/logdog-view.html
@@ -63,7 +63,12 @@ The streams are specified by full path using the "s=" query parameter.
<span class="banner-content">
<h1><a href="/">LogDog</a>
<template is="dom-if" if="{{_hasStreams}}">
- : [[streams]]
+ <template is="dom-if" if="{{streamLinkUrl}}">
+ : <a href="{{streamLinkUrl}}">[[streams]]</a>
+ </template>
+ <template is="dom-if" if="{{!streamLinkUrl}}">
+ : [[streams]]
+ </template>
</template>
<template is="dom-if" if="{{!_hasStreams}}">
(No Streams Provided)
@@ -83,7 +88,8 @@ The streams are specified by full path using the "s=" query parameter.
host="[[host]]"
mobile="[[mobile]]"
metadata="[[metadata]]"
- streams="[[streams]]"></logdog-stream-view>
+ streams="[[streams]]"
+ stream-link-url="{{streamLinkUrl}}"></logdog-stream-view>
</div>
</template>
@@ -110,6 +116,12 @@ The streams are specified by full path using the "s=" query parameter.
readOnly: true,
},
+ streamLinkUrl: {
+ type: String,
+ value: null,
+ notify: true,
+ },
+
metadata: {
type: String,
value: false,
« no previous file with comments | « no previous file | web/inc/logdog-stream-view/logdog-stream-view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698