forked from saurabh/orbit4-5
fix member pic name
This commit is contained in:
parent
35e203c476
commit
e616c4b947
|
@ -158,7 +158,7 @@ class MembersController < ApplicationController
|
||||||
|
|
||||||
plugin_datas = plugin_data.where(:is_hidden=>false).desc(:year).collect do |p|
|
plugin_datas = plugin_data.where(:is_hidden=>false).desc(:year).collect do |p|
|
||||||
{
|
{
|
||||||
"pd_datas" => [{ "data_title" => "<a href='#{OrbitHelper.url_to_plugin_show(p.to_param,plugin.module_app_name.underscore)}'>#{p.create_link}" }]
|
"pd_datas" => [{ "data_title" => "<a href='#{OrbitHelper.url_to_plugin_show(p.to_param,plugin.module_app_name.underscore)}' target='_blank'>#{p.create_link}" }]
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
<% next if profile.email.nil? %>
|
<% next if profile.email.nil? %>
|
||||||
<li class="check-item">
|
<li class="check-item">
|
||||||
<label>
|
<label>
|
||||||
<%= image_tag (profile.avatar.file ? profile.avatar : "menber-pic.png"), class: "user-pic" %>
|
<%= image_tag (profile.avatar.file ? profile.avatar : "member-pic.png"), class: "user-pic" %>
|
||||||
<span class="user-name"><%= profile.name %></span>
|
<span class="user-name"><%= profile.name %></span>
|
||||||
</label>
|
</label>
|
||||||
<%= check_box_tag 'email_user_ids[]', profile.id , false %>
|
<%= check_box_tag 'email_user_ids[]', profile.id , false %>
|
||||||
|
|
Loading…
Reference in New Issue