Source code
Revision control
Copy as Markdown
Other Tools
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
<!--
  This is the template used for the `unified-extensions-item` custom element,
  defined in `browser/base/content/browser-unified-extensions.js`.
-->
<html:template id="unified-extensions-item-template">
  <box class="unified-extensions-item-row-wrapper">
    <toolbarbutton class="unified-extensions-item-action-button subviewbutton">
      <image class="unified-extensions-item-icon"
             role="presentation"
             src="chrome://mozapps/skin/extensions/extensionGeneric.svg" />
      <vbox class="unified-extensions-item-contents">
        <label class="unified-extensions-item-name" />
        <!--
          IMPORTANT: if you change the order of the labels in the deck,
          please update the indexes in `browser/base/content/browser-addons.js`.
        -->
        <deck class="unified-extensions-item-message-deck">
          <label class="unified-extensions-item-message unified-extensions-item-message-default">
            <!-- A message describing the current Origin Controls state -->
          </label>
          <label class="unified-extensions-item-message unified-extensions-item-message-hover">
            <!-- A message indicating what a user can do when clicking the action button -->
          </label>
          <label class="unified-extensions-item-message unified-extensions-item-message-hover-menu-button"
                 data-l10n-id="unified-extensions-item-message-manage">
          </label>
        </deck>
      </vbox>
    </toolbarbutton>
    <toolbarbutton class="unified-extensions-item-menu-button subviewbutton subviewbutton-iconic"
                   closemenu="none"
                   context="unified-extensions-context-menu"
                   data-navigable-with-tab-only="true" />
  </box>
  <html:unified-extensions-item-messagebar-wrapper></html:unified-extensions-item-messagebar-wrapper>
</html:template>