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

Unified Diff: chrome/browser/resources/settings/certificate_manager_page/certificate_list.html

Issue 1865373002: MD Settings: Certificate manager, polish "no certificates" text. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit Created 4 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
Index: chrome/browser/resources/settings/certificate_manager_page/certificate_list.html
diff --git a/chrome/browser/resources/settings/certificate_manager_page/certificate_list.html b/chrome/browser/resources/settings/certificate_manager_page/certificate_list.html
index 10a3d00c5378a51615a20b0c67ef22de53db715e..4ebf1e3a75cca05bac8be8fcd5b10a0302547154 100644
--- a/chrome/browser/resources/settings/certificate_manager_page/certificate_list.html
+++ b/chrome/browser/resources/settings/certificate_manager_page/certificate_list.html
@@ -14,7 +14,8 @@
}
</style>
<div class="settings-box first">
- <span class="start">[[getDescription_(certificateType)]]</span>
+ <span class="start">
+ [[getDescription_(certificateType, certificates)]]</span>
<paper-button on-tap="onImportTap_"
hidden="[[!canImport_(certificateType)]]">
$i18n{certificateManagerImport}</paper-button>
@@ -24,10 +25,6 @@
certificate-type="[[certificateType]]">
</settings-certificate-entry>
</template>
- <template is="dom-if" if="[[!certificates.length]]">
- <!-- TODO(dpapad): Localize string -->
- You have no certificates
- </template>
</template>
<script src="certificate_list.js"></script>
</dom-module>
« no previous file with comments | « chrome/app/settings_strings.grdp ('k') | chrome/browser/resources/settings/certificate_manager_page/certificate_list.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698