cartodb/app/views/admin/pages/user_feed.html.erb

61 lines
2.4 KiB
Plaintext
Raw Normal View History

2020-07-10 22:17:11 +08:00
<%= content_for(:title) do %>快点 &middot; <%= @name %> public feed<% end %>
2020-06-15 10:58:47 +08:00
<%= content_for(:description) do %><%= @page_description %><% end %>
<div class="CDB-Text PublicBody-content PublicBody--grey">
<div class="PublicUserProfile">
<div class="PublicUserProfile-profile">
<div class="PublicUserProfile-bio">
<h2 class="CDB-Size-huge PublicUserProfile-name u-breakLongWords"><%= @name %></h2>
<% unless @viewed_user.description.nil? || @tables_num == 0 %>
<p class="PublicUserProfile-description"><%= @viewed_user.description %></p>
<% end %>
</div>
<ul class="PublicUserProfile-details">
<% unless @viewed_user.twitter_username.blank? || @tables_num == 0 %>
<li class="PublicUserProfile-detail">
<i class="CDB-IconFont CDB-IconFont-twitter CDB-IconFont--withLabel"></i>
<a href="http://twitter.com/<%= @viewed_user.twitter_username %>"><%= @viewed_user.twitter_username %></a>
</li>
<% end %>
<% unless @viewed_user.website.blank? || @tables_num == 0 %>
<li class="PublicUserProfile-detail">
<i class="CDB-IconFont CDB-IconFont-anchor CDB-IconFont--withLabel"></i>
<a href="<%= @website %>"><%= @website_clean %></a>
</li>
<% end %>
<% if @viewed_user.has_organization? %>
<li class="PublicUserProfile-detail">
<i class="CDB-IconFont CDB-IconFont-attache CDB-IconFont--withLabel"></i>
<%= @viewed_user.organization.name %>
</li>
<% end %>
<% if @viewed_user.available_for_hire %>
<li class="PublicUserProfile-detail">
<i class="CDB-IconFont CDB-IconFont-email CDB-IconFont--withLabel"></i>
<a href="mailto:<%= @viewed_user.email %>"><%= @viewed_user.email %></a>
</li>
<% end %>
<% unless @viewed_user.location.blank? %>
<li class="PublicUserProfile-detail">
<i class="CDB-IconFont CDB-IconFont-pin CDB-IconFont--withLabel"></i>
<%= @viewed_user.location %>
</li>
<% end %>
<li class="PublicUserProfile-detail">
<i class="CDB-IconFont CDB-IconFont-calendar CDB-IconFont--withLabel"></i>
2020-07-10 22:19:04 +08:00
自 <%= @viewed_user.created_at.strftime("%B %Y") %> 起
2020-06-15 10:58:47 +08:00
</li>
</ul>
</div>
<div class="Feed js-feed"></div>
</div>
</div>