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

Unified Diff: appengine/config_service/ui/src/config-ui/front-page.html

Issue 2959833002: config_service: add last import validation and tests (Closed)
Patch Set: Add test files. Created 3 years, 6 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
Index: appengine/config_service/ui/src/config-ui/front-page.html
diff --git a/appengine/config_service/ui/src/config-ui/front-page.html b/appengine/config_service/ui/src/config-ui/front-page.html
index 95e70b821e6fce4ed1afcc4101e50d58ded6b169..7d0f7de215b1d26f9efbb3999f8822a9900d6c41 100644
--- a/appengine/config_service/ui/src/config-ui/front-page.html
+++ b/appengine/config_service/ui/src/config-ui/front-page.html
@@ -38,7 +38,7 @@
<iron-ajax
auto
id="requestConfigs"
- url="/_ah/api/config/v1/config-sets"
+ url="/_ah/api/config/v1/config-sets?include_last_import_attempt=true"
handle-as="json"
on-response="_onGotConfigSets">
</iron-ajax>
@@ -57,7 +57,11 @@
</template>
<template is="dom-if" if="[[_not(_isEmpty(searchResults))]]">
<template is="dom-repeat" items="[[searchResults]]" as="config">
- <config-set-card name="[[config.config_set]]" on-tap="_handleClick"></config-set-card>
+ <config-set-card
+ name="[[config.config_set]]"
+ last-import-attempt="[[config.last_import_attempt.success]]"
+ on-tap="_handleClick">
+ </config-set-card>
</template>
</template>
</template>

Powered by Google App Engine
This is Rietveld 408576698