_organization_profile.rhtml
1018 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<table>
<tr>
<th colspan='2'><%= _('Basic information')%></th>
</tr>
<tr>
<td class='field-name'><%= _('Members') %></td>
<td>
<%= link_to profile.members_count, :controller => 'profile', :action => 'members' %>
</td>
</tr>
<%= display_field(_('Type:'), profile, :privacy_setting, true) %>
<%= display_field(_('Location:'), profile, :location, true) %>
<tr>
<td class='field-name'><%= _('Created at:') %></td>
<td><%= show_date(profile.created_at) %></td>
</tr>
<% if profile.kind_of?(Enterprise) && !profile.environment.enabled?('disable_products_for_enterprises') %>
<tr>
<td></td>
<td>
<%= link_to _('Products/Services'), :controller => 'catalog', :action => 'index' %>
</td>
</tr>
<% end %>
<tr>
<td class='field-name'><%= _('Administrators:') %></td>
<td>
<%= profile.admins.map { |admin| link_to(admin.short_name, admin.url)}.join(', ') %>
</td>
</tr>
<%= render :partial => 'common' %>
</table>