Sha256: 4cf0cb3fb8e9fa9851de863956502b5fb782668d67b9b4298c971f877e13cb08

Contents?: true

Size: 1.99 KB

Versions: 26

Compression:

Stored size: 1.99 KB

Contents

<div class="column">
  <article class="card card--member">
    <div class="card__content">
      <div class="card__header collapse">
        <div class="author-data author-data--big">
          <div class="author-data__main">
            <div class="author author--flex">
              <% if has_profile? %>
                <%= link_to profile_url, class: "author__avatar" do %>
                  <%= image_tag model.avatar_url(:big) %>
                <% end %>
                <div>
                  <div class="author__name--container">
                    <%= link_to profile_url, class: "author__name" do %>
                      <%= name %>
                    <% end %>
                  </div>
                  <% if nickname.present? %>
                    <%= link_to profile_url, class: "author__nickname" do %>
                      <%= nickname %>
                    <% end %>
                  <% else %>
                    <div class="author__nickname">&nbsp;</div>
                  <% end %>
                </div>
              <% else %>
                <div class="author__avatar"><%= image_tag asset_path("decidim/default-avatar.svg") %></div>
                <div>
                  <div class="author__name--container">
                    <div class="author__name">
                      <%= name %>
                    </div>
                  </div>
                  <div class="author__nickname"><%= nickname.presence || "&nbsp;" %></div>
                </div>
              <% end %>
            </div>
          </div>
        </div>
      </div>
      <div class="card__text card--picture-offset">
        <div>
          <small><strong><%= position %></strong></small>
        </div>
        <div class="text-small">
          <%= t("decidim.assembly_members.assembly_member.designated_on") %>
          <strong> <%= l designation_date, format: :decidim_short %></strong>
        </div>
        <div class="text-small mt-s"><%= personal_information %></div>
      </div>
    </div>
  </article>
</div>

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
decidim-assemblies-0.12.2 app/cells/decidim/assemblies/assembly_member/show.erb
decidim-assemblies-0.13.0 app/cells/decidim/assemblies/assembly_member/show.erb
decidim-assemblies-0.12.1 app/cells/decidim/assemblies/assembly_member/show.erb
decidim-assemblies-0.13.0.pre1 app/cells/decidim/assemblies/assembly_member/show.erb
decidim-assemblies-0.12.0 app/cells/decidim/assemblies/assembly_member/show.erb
decidim-assemblies-0.12.0.pre app/cells/decidim/assemblies/assembly_member/show.erb