fix member pic name

This commit is contained in:
spen 2015-01-20 15:27:43 +08:00
parent 35e203c476
commit e616c4b947
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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 %>