<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="ContentMemberRow" parent="GtkBox">
    <property name="spacing">12</property>
    <style>
      <class name="header"/>
    </style>
    <child>
      <object class="ComponentsAvatar">
        <property name="size">32</property>
        <binding name="data">
          <lookup name="avatar-data" type="Member">
            <lookup name="member">ContentMemberRow</lookup>
          </lookup>
        </binding>
        <property name="accessible-role">presentation</property>
      </object>
    </child>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <style>
          <class name="title"/>
        </style>
        <child>
          <object class="GtkBox">
            <property name="spacing">3</property>
            <child>
              <object class="GtkLabel" id="title">
                <property name="halign">start</property>
                <property name="ellipsize">end</property>
                <binding name="label">
                  <lookup name="display-name" type="Member">
                    <lookup name="member">ContentMemberRow</lookup>
                  </lookup>
                </binding>
                <style>
                  <class name="title"/>
                </style>
              </object>
            </child>
            <child>
              <object class="GtkImage" id="verified_icon">
                <property name="icon-name">verified-symbolic</property>
                <property name="tooltip-text" translatable="yes">Identity verified</property>
                <binding name="visible">
                  <lookup name="verified" type="User">
                    <lookup name="member">ContentMemberRow</lookup>
                  </lookup>
                </binding>
                <style>
                  <class name="success"/>
                </style>
              </object>
            </child>
            <child>
              <object class="Badge">
                <binding name="power-level">
                  <lookup name="power-level" type="Member">
                    <lookup name="member">ContentMemberRow</lookup>
                  </lookup>
                </binding>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkLabel" id="subtitle">
            <property name="hexpand">True</property>
            <property name="halign">start</property>
            <property name="ellipsize">end</property>
            <binding name="label">
              <lookup name="user-id" type="Member">
                <lookup name="member">ContentMemberRow</lookup>
              </lookup>
            </binding>
            <style>
              <class name="subtitle"/>
            </style>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>
