- <% unless @user.user_extensions.identity == 2 %>
+
<%= l(:field_occupation) %>
*
- <% if User.current.user_extensions.identity == 3 %>
+ <% if User.current.user_extensions.identity == 3 || User.current.user_extensions.identity == 2 %>
@@ -171,7 +172,7 @@
<% end %>
- <% end %>
+
@@ -590,9 +591,11 @@
$('#name').show()
$('#enterprise').hide()
$('#gender').show()
+ $('#occupation_detail').show()
$('input#province').show()
$('input#occupation_name').show()
$('input#occupation').hide()
+
var technical_titleOptions = new Array(
"<%= l(:label_technicl_title_professor) %>", "<%= l(:label_technicl_title_associate_professor) %>", "<%= l(:label_technicl_title_lecturer) %>", "<%= l(:label_technicl_title_teaching_assistant) %>");
break;
@@ -603,9 +606,11 @@
$('#name').show()
$('#enterprise').hide()
$('#gender').show()
+ $('#occupation_detail').show()
$('input#province').show()
$('input#occupation_name').show()
$('input#occupation').hide()
+
var technical_titleOptions = new Array(
"<%= l(:label_technicl_title_professor) %>", "<%= l(:label_technicl_title_associate_professor) %>", "<%= l(:label_technicl_title_lecturer) %>", "<%= l(:label_technicl_title_teaching_assistant) %>");
@@ -628,6 +633,7 @@
$('#name').show()
$('#enterprise').hide()
$('#gender').show()
+ $('#occupation_detail').show()
$('input#province').hide()
$('input#occupation_name').hide()
$('input#occupation').show()
@@ -642,6 +648,7 @@
$('#name').show()
$('#enterprise').hide()
$('#gender').show()
+ $('#occupation_detail').show()
var technical_titleOptions = new Array(
"<%= l(:label_technicl_title_professor) %>", "<%= l(:label_technicl_title_associate_professor) %>", "<%= l(:label_technicl_title_lecturer) %>", "<%= l(:label_technicl_title_teaching_assistant) %>");
diff --git a/app/views/users/_mail_notifications.html.erb b/app/views/users/_mail_notifications.html.erb
index 47face839..a8d3edc55 100644
--- a/app/views/users/_mail_notifications.html.erb
+++ b/app/views/users/_mail_notifications.html.erb
@@ -8,7 +8,8 @@
) %>
<%= content_tag 'div', :id => 'notified-projects', :style => (@user.mail_notification == 'selected' ? '' : 'display:none;') do %>
- <%= render_project_nested_lists_new(@user.projects) do |project|
+
<%= l(:text_user_mail_option) %>
+ <%= render_project_nested_lists_new(@user.projects) do |project|
content_tag('label',
check_box_tag(
'notified_project_ids[]',
@@ -17,7 +18,7 @@
) + ' ' + h(project.name)
)
end %>
-
<%= l(:text_user_mail_option) %>
+
<% end %>
diff --git a/public/images/jingtanhao.JPG b/public/images/jingtanhao.JPG
new file mode 100644
index 0000000000000000000000000000000000000000..d806214daec852aa14626aa865619bd1ad780b89
GIT binary patch
literal 8119
zcmex=l%EXWXn-~Lw
zBSQ*9E<+|m9uOBZlrR)ABm&8NAPpMz;8w^eDJihh*Uu}~OH9d6O4Uow&(*I;EYLU9
zGtg(Sv9BmdOwLX%QAkQn&&;z`f4_Ubx0UbSoemB&@GwXH%4tW)RtPXT0L
zVp4u-iLFv;X=aL5T4I`MQc8-cZc?IgimstyN}_IJim{zSCC*yy9Fv(X0y29iUm>vEz(%g!bx*(w?2_WUA<^}(ryl*M*V
zrX5P78sbf$D1-qtADH+!IXP|gk*&rI3$O?jKe5@ci+Wc+`GK^{0K$qJms1WjZ@0V5ML
z3o9Et2PYRdP{CFK1|~*kW+oP9R#q0^6eeRWP@aKBkX1<0(2-3zFp*uUP{gQl;zAB(
zr;P_igD!qhF-|IK;^Yz&myncFRa4i{)G{$OGqmaka3YSZQ|TeofBv2)j<
z!$*!DJAUHisY{oyT)lSv#?4y~A3c8Z^x5+lFJFE9^!dxzZ{L6X`~~tCBLg$UTX3JD
z`AZP!FD4ciW)^mkzZjXyftXp4g;mjzO~^5jJ+V+&$*7S-#A)KfjR!fEje|ajCKX-e
z5>qjGsQMA)HL%Z!^H>vEK7)G<;jdc^Jj{&1$YT~{uxI$?GJ#R$0pF6V+_}~6dv=>`
zo3*y*JM$XDn8o%___9y^v-~mb)4gna{#&OmI-A&M?6_6Z~irKXl%cW&3mE1x)$rZ?4{
zpD
zH`O(atMKN`{i1sqiy!Tdu61_jy4AX9ilHI%Ij7bX
z@-|(aGfLAuq6}(|^BkSqce%;p`0IGji?LG*ziK)Z_Ax`SHEu$Wq
w;m`3S>b{Q