Bug 1433596 - Include the header for "Data Collection and Use" in about:preferences#privacy only, if there is content to display. r=jaws

This commit is contained in:
pubkeypin 2018-01-27 00:59:06 +01:00
parent a0e6c2af00
commit 8d9f63fff6

View File

@ -559,6 +559,8 @@
</vbox>
</groupbox>
<!-- Firefox Data Collection and Use -->
#ifdef MOZ_DATA_REPORTING
<hbox id="dataCollectionCategory"
class="subcategory"
hidden="true"
@ -566,8 +568,6 @@
<label class="header-name" flex="1">&dataCollection.label;</label>
</hbox>
<!-- Firefox Data Collection and Use -->
#ifdef MOZ_DATA_REPORTING
<groupbox id="dataCollectionGroup" data-category="panePrivacy" hidden="true">
<caption class="search-header" hidden="true"><label>&dataCollection.label;</label></caption>