Sha256: 448e81a51192af7eb90e9c404f4b9c0ae55e8b67a306bd326a7f6bccb7eff9fe

Contents?: true

Size: 1.52 KB

Versions: 11

Compression:

Stored size: 1.52 KB

Contents

<% content_for :meta_title, @member.name %>
<% content_for :meta_description, "Public profile for #{@member.name}" %>

<div id="profile-title">
  <% if @member.other_name.present? %>
    <h1>
      <%= @member.other_name %><br />
      <span class="secondary-name"><%= @member.name %></span>
    </h1>
  <% else %>
    <h1><%= @member.name %></h1>
  <% end %>
  <% if Profile.find(@member.id).portrait.present? %>
    <p id="profile-portrait"><%= image_tag Profile.find(@member.id).portrait_url(:small), title: @member.name, alt: @member.name, id: 'profile-portrait' %></p>
  <% end %>
</div>

<table id="profile-attributes">
  <tbody>
    <tr><td class="key">website</td><td class="value"><%= link_to abridged_url(@member.website_url), @member.website_url, rel: 'nofollow' %></td></tr>
    <tr><td class="key">facebook</td><td class="value"><%= link_to abridged_url(@member.facebook_url), @member.facebook_url, rel: 'nofollow' %></td></tr>
    <tr><td class="key">twitter</td><td class="value"><%= @member.twitter_handle.present? ? link_to( @member.twitter_handle, "https://twitter.com/#{@member.twitter_handle}", rel: 'nofollow' ) : '' %></td></tr>
    <tr><td class="key">google+</td><td class="value"><%= link_to abridged_url(@member.google_plus_url), @member.google_plus_url, rel: 'nofollow' %></td></tr>
    <%= render 'profiles/custom_public_profile_attributes', member: @member %>
  </tbody>
</table>

<%= render 'admin_context_menu', member: @member %>
<%# partial in tkh_menus gem or has to be added in host app %>
<%= render './shared/menus' %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
tkh_mailing_list-0.12 app/views/members/show.html.erb
tkh_mailing_list-0.11.3 app/views/members/show.html.erb
tkh_mailing_list-0.11.2 app/views/members/show.html.erb
tkh_mailing_list-0.11.1.1 app/views/members/show.html.erb
tkh_mailing_list-0.11.1 app/views/members/show.html.erb
tkh_mailing_list-0.11 app/views/members/show.html.erb
tkh_mailing_list-0.10.10 app/views/members/show.html.erb
tkh_mailing_list-0.10.9.1 app/views/members/show.html.erb
tkh_mailing_list-0.10.9 app/views/members/show.html.erb
tkh_mailing_list-0.10.8 app/views/members/show.html.erb
tkh_mailing_list-0.10.7 app/views/members/show.html.erb