parent
43a0a875f4
commit
2a9cb28c4e
|
@ -126,13 +126,7 @@ class ProjectsController < ApplicationController
|
|||
# @offset ||= @project_pages.offset
|
||||
# @projects = Project.visible.offset(@offset).limit(@limit).order('lft').all
|
||||
@project_type = params[:project_type]
|
||||
if @project_type == '1'
|
||||
session[:enterprise_college] = 1
|
||||
elsif @project_type == '0'
|
||||
session[:enterprise_college] = 2
|
||||
else
|
||||
session[:enterprise_college] = 0
|
||||
end
|
||||
|
||||
|
||||
@offset, @limit = api_offset_and_limit({:limit => 10})
|
||||
@projects_status = ProjectStatus.visible.where("project_type <> ? or project_type is null", 1)
|
||||
|
@ -253,7 +247,6 @@ class ProjectsController < ApplicationController
|
|||
# @project_pages = Paginator.new @project_count, @limit, params['page']
|
||||
# @offset ||= @project_pages.offset
|
||||
# @projects = Project.visible.offset(@offset).limit(@limit).order('lft').all
|
||||
session[:enterprise_college] = 1
|
||||
@project_type = params[:project_type]
|
||||
|
||||
@offset, @limit = api_offset_and_limit({:limit => 10})
|
||||
|
@ -495,6 +488,10 @@ class ProjectsController < ApplicationController
|
|||
@course.extra='course' + DateTime.parse(Time.now.to_s).strftime('%Y-%m-%d_%H-%M-%S').to_s
|
||||
@course.safe_attributes = params[:project][:course]
|
||||
@course.tea_id = User.current.id
|
||||
# added by bai
|
||||
@course.term = params[:term]
|
||||
@course.time = params[:time]
|
||||
# end
|
||||
# @course.save
|
||||
# project = ProjectInfo.create(:user_id => User.current.id, :project_id => @project.id)
|
||||
# project_status = ProjectStatus.create(:project_id => @project.id)
|
||||
|
@ -767,7 +764,10 @@ class ProjectsController < ApplicationController
|
|||
@course = Course.find_by_extra(@project.identifier)
|
||||
unless @course.nil?
|
||||
@course.password = params[:project][:course][:password]
|
||||
@course.term = params[:project][:course][:term]
|
||||
# added by bai
|
||||
@course.term = params[:term]
|
||||
@course.time = params[:time]
|
||||
# end
|
||||
@course.save
|
||||
end
|
||||
@project.set_allowed_parent!(params[:project]['parent_id']) if params[:project].has_key?('parent_id')
|
||||
|
|
|
@ -6,12 +6,12 @@
|
|||
|
||||
<% if User.current.logged? %>
|
||||
<td>
|
||||
<% if User.current.logged? && (!Member.where('user_id = ? and project_id = ?', User.current.id, @bid.courses.first.id).first.nil? && (Member.where('user_id = ? and project_id = ?', User.current.id, @bid.courses.first.id).first.roles&Role.where('id = ? or id = ?', 5, 7)).size >0) %>
|
||||
|
||||
<div class='icon icon-add'>
|
||||
|
||||
<%= toggle_link l(:button_bidding_homework), 'put-bid-form' %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
</td>
|
||||
<% end %>
|
||||
</table>
|
||||
|
|
|
@ -4,16 +4,7 @@
|
|||
<td width="50" valign="top"><%= link_to image_tag(url_to_avatar(@bid.author), :class => "avatar"), user_path(@bid.author), :class => "avatar" %></td>
|
||||
<td><table width="100%" border="0">
|
||||
<tr>
|
||||
<td><h3><%= link_to(@bid.author.lastname+@bid.author.firstname, user_path(@bid.author))%>:<%= @bid.name %></h3></td>
|
||||
<td>
|
||||
<!-- 在这里添加赞和踩-->
|
||||
<span id="praise_tread" style="float: right">
|
||||
<%= render :partial => "/praise_tread/praise_tread",
|
||||
:locals => {:obj => @bid,:show_flag => true,:user_id =>User.current.id}%>
|
||||
</span>
|
||||
|
||||
</td>
|
||||
|
||||
<td><h3><%= link_to(@bid.author.lastname+@bid.author.firstname, user_path(@bid.author))%>:<%= @bid.name %></h3></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<% if @bid.reward_type.nil? or @bid.reward_type == 1%>
|
||||
|
@ -33,24 +24,25 @@
|
|||
<%= l(:label_bids_credit) %> <%= @bid.budget%> <%= l(:label_bids_credit_number) %></span></strong></td>
|
||||
<% end %>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="bid-description" style="border-bottom: 1px solid rgb(225, 225, 225); margin-bottom: 20px; padding-bottom: 20px;">
|
||||
<table border="0" width="600px" align="center">
|
||||
<tr>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr><td style="font-size: 13px; color: rgb(0,0,0);"><%= @bid.description %>
|
||||
<!--modified by baiyu-->
|
||||
<tr><td style="font-size: 13px; color: rgb(0,0,0);"><%= @bid.description %>
|
||||
<% if @bid.attachments.any?%>
|
||||
<% options = {:author => true} %>
|
||||
<%= render :partial => 'attachments/links',
|
||||
:locals => {:attachments => @bid.attachments, :options => options} %>
|
||||
<% end %>
|
||||
</td></tr>
|
||||
|
||||
</table></td>
|
||||
<td>
|
||||
<!-- 在这里添加赞和踩-->
|
||||
<span id="praise_tread" style="float: right">
|
||||
<%= render :partial => "/praise_tread/praise_tread",
|
||||
:locals => {:obj => @bid,:show_flag => true,:user_id =>User.current.id}%>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- 这里是用户的反馈输入框 -->
|
||||
<div id="history">
|
||||
<%= render :partial => 'history', :locals => { :bid => @bid, :journals => @jour, :state => false} %>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<div id="top-menu" style="background-color: #2a6ebb;height:40px;margin-top: 10px;margin-bottom: 10px;">
|
||||
<div id="top-menu" style="background-color: #15bccf;height:40px;margin-top: 10px;margin-bottom: 10px;">
|
||||
<div class="welcome_logo">
|
||||
<%=link_to image_tag("/images/logo.png",weight:"36px", height: "36px"), home_path %>
|
||||
</div>
|
||||
|
|
|
@ -79,18 +79,25 @@
|
|||
|
||||
|
||||
<tr>
|
||||
<td valign="top" style="padding-left: 8px;">主讲老师:</td><td class="font_lighter_sidebar"><%= @course.teacher.lastname+@course.teacher.firstname %></td>
|
||||
<td valign="top" style="padding-left: 8px;"><%= l(:label_main_teacher) %></td><td class="font_lighter_sidebar"><%= @course.teacher.lastname+@course.teacher.firstname %></td>
|
||||
</tr>
|
||||
<!-- added by bai -->
|
||||
<tr>
|
||||
<td valign="top" style="padding-left: 8px;">课程学期:</td><td class="font_lighter_sidebar"><%= @course.term %></td>
|
||||
<td valign="top" style="padding-left: 8px;"><%= l(:label_course_time) %></td><td class="font_lighter_sidebar"><%= @course.time %></td>
|
||||
</tr>
|
||||
<% unless @course.teacher.user_extensions.nil?%>
|
||||
|
||||
<tr>
|
||||
<td valign="top" style="padding-left: 8px;">教师单位:</td><td class="font_lighter_sidebar"><%= @course.teacher.user_extensions.occupation %></td>
|
||||
<td valign="top" style="padding-left: 8px;"><%= l(:label_main_term) %></td><td class="font_lighter_sidebar"><%= @course.term %></td>
|
||||
</tr>
|
||||
<!-- end -->
|
||||
|
||||
<% unless @course.teacher.user_extensions.nil?%>
|
||||
<tr>
|
||||
<td valign="top" style="padding-left: 8px;"><%= l(:label_teacher_work_unit) %></td><td class="font_lighter_sidebar"><%= @course.teacher.user_extensions.occupation %></td>
|
||||
</tr>
|
||||
<% else %>
|
||||
<tr>
|
||||
<td valign="top" style="padding-left: 8px;">教师单位:</td><td class="font_lighter_sidebar"><%= l(:field_course_un) %></td>
|
||||
<td valign="top" style="padding-left: 8px;"><%= l(:label_teacher_work_unit) %></td><td class="font_lighter_sidebar"><%= l(:field_course_un) %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
|
||||
|
|
|
@ -65,10 +65,12 @@
|
|||
<strong class="font_small_watch"><%=link_to l(:label_x_user_fans, :count => User.current.watcher_users(User.current.id).count)+"("+@user.watcher_users(@user.id).count.to_s+")", :controller=>"users", :action=>"user_fanslist" %></strong>
|
||||
|
||||
<!-- added by bai 个人签名-->
|
||||
<% if @user.id == User.current.id %>
|
||||
<p><%= toggle_link l(:label_brief_introduction), 'introduction', {:focus => 'new_form_user_introduction'} %></p>
|
||||
|
||||
<% end %>
|
||||
<% unless @user.user_extensions.nil? %>
|
||||
<%= @user.user_extensions.brief_introduction %>
|
||||
<p>
|
||||
<%= @user.user_extensions.brief_introduction %></p>
|
||||
<% end %>
|
||||
<div id="introduction" style="display: none">
|
||||
<%= form_for('new_form', :method => :post,
|
||||
|
|
|
@ -20,8 +20,213 @@
|
|||
<!-- added by huang -->
|
||||
<p style="margin-left:-10px;"><%= m.text_field :password, :required => true, :size => 60, :style => "width:488px;margin-left: 10px;" %></p>
|
||||
<em class="info" style="margin-left:95px;"><%= l(:text_command) %></em>
|
||||
<p style="margin-left:-10px;"><%= m.text_field :term, :required => true, :size => 60, :style => "width:488px;margin-left: 10px;" %></p>
|
||||
<!-- <p style="margin-left:-28px;"><em class="info"><%= l(:label_term) %> <%= select_tag 'term', "<option value = '0'>#{l(:label_spring)}</option><option value = '1'>#{l(:label_summer)}</option><option value = '2'>#{l(:label_autumn)}</option>".html_safe %></em></p> -->
|
||||
|
||||
<!-- added by bai 增加了“年度”和“学期” -->
|
||||
<% unless @course.nil? %>
|
||||
<% if @course.time == 2008 %>
|
||||
<p><table><tr><td class="info" align="right" style="width: 90px"><strong><%= l(:label_time) %><span class="required"> * </span></strong></td>
|
||||
<td class="info" style="width: 10px">
|
||||
<%= select_tag 'time', "<option value = '2008' selected='selected'>2008</option>
|
||||
<option value = '2009'>2009</option>
|
||||
<option value = '2010'>2010</option>
|
||||
<option value = '2011'>2011</option>
|
||||
<option value = '2012'>2012</option>
|
||||
<option value = '2013'>2013</option>
|
||||
<option value = '2014'>2014</option>
|
||||
<option value = '2015'>2015</option>
|
||||
<option value = '2016'>2016</option>
|
||||
<option value = '2017'>2017</option>".html_safe %></td></tr></table></p>
|
||||
|
||||
<% elsif @course.time == 2009 %>
|
||||
<p><table><tr><td class="info" align="right" style="width: 90px"><strong><%= l(:label_time) %><span class="required"> * </span></strong></td>
|
||||
<td class="info" style="width: 10px">
|
||||
<%= select_tag 'time', "<option value = '2008'>2008</option>
|
||||
<option value = '2009' selected='selected'>2009</option>
|
||||
<option value = '2010'>2010</option>
|
||||
<option value = '2011'>2011</option>
|
||||
<option value = '2012'>2012</option>
|
||||
<option value = '2013'>2013</option>
|
||||
<option value = '2014'>2014</option>
|
||||
<option value = '2015'>2015</option>
|
||||
<option value = '2016'>2016</option>
|
||||
<option value = '2017'>2017</option>".html_safe %></td></tr></table></p>
|
||||
|
||||
<% elsif @course.time == 2010 %>
|
||||
<p><table><tr><td class="info" align="right" style="width: 90px"><strong><%= l(:label_time) %><span class="required"> * </span></strong></td>
|
||||
<td class="info" style="width: 10px">
|
||||
<%= select_tag 'time', "<option value = '2008'>2008</option>
|
||||
<option value = '2009'>2009</option>
|
||||
<option value = '2010' selected='selected'>2010</option>
|
||||
<option value = '2011'>2011</option>
|
||||
<option value = '2012'>2012</option>
|
||||
<option value = '2013'>2013</option>
|
||||
<option value = '2014'>2014</option>
|
||||
<option value = '2015'>2015</option>
|
||||
<option value = '2016'>2016</option>
|
||||
<option value = '2017'>2017</option>".html_safe %></td></tr></table></p>
|
||||
|
||||
<% elsif @course.time == 2011 %>
|
||||
<p><table><tr><td class="info" align="right" style="width: 90px"><strong><%= l(:label_time) %><span class="required"> * </span></strong></td>
|
||||
<td class="info" style="width: 10px">
|
||||
<%= select_tag 'time', "<option value = '2008'>2008</option>
|
||||
<option value = '2009'>2009</option>
|
||||
<option value = '2010'>2010</option>
|
||||
<option value = '2011' selected='selected'>2011</option>
|
||||
<option value = '2012'>2012</option>
|
||||
<option value = '2013'>2013</option>
|
||||
<option value = '2014'>2014</option>
|
||||
<option value = '2015'>2015</option>
|
||||
<option value = '2016'>2016</option>
|
||||
<option value = '2017'>2017</option>".html_safe %></td></tr></table></p>
|
||||
|
||||
|
||||
<% elsif @course.time == 2012 %>
|
||||
<p><table><tr><td class="info" align="right" style="width: 90px"><strong><%= l(:label_time) %><span class="required"> * </span></strong></td>
|
||||
<td class="info" style="width: 10px">
|
||||
<%= select_tag 'time', "<option value = '2008'>2008</option>
|
||||
<option value = '2009'>2009</option>
|
||||
<option value = '2010'>2010</option>
|
||||
<option value = '2011'>2011</option>
|
||||
<option value = '2012' selected='selected'>2012</option>
|
||||
<option value = '2013'>2013</option>
|
||||
<option value = '2014'>2014</option>
|
||||
<option value = '2015'>2015</option>
|
||||
<option value = '2016'>2016</option>
|
||||
<option value = '2017'>2017</option>".html_safe %></td></tr></table></p>
|
||||
|
||||
<% elsif @course.time == 2013 %>
|
||||
<p><table><tr><td class="info" align="right" style="width: 90px"><strong><%= l(:label_time) %><span class="required"> * </span></strong></td>
|
||||
<td class="info" style="width: 10px">
|
||||
<%= select_tag 'time', "<option value = '2008'>2008</option>
|
||||
<option value = '2009'>2009</option>
|
||||
<option value = '2010'>2010</option>
|
||||
<option value = '2011'>2011</option>
|
||||
<option value = '2012'>2012</option>
|
||||
<option value = '2013' selected='selected'>2013</option>
|
||||
<option value = '2014'>2014</option>
|
||||
<option value = '2015'>2015</option>
|
||||
<option value = '2016'>2016</option>
|
||||
<option value = '2017'>2017</option>".html_safe %></td></tr></table></p>
|
||||
|
||||
<% elsif @course.time == 2014 %>
|
||||
<p><table><tr><td class="info" align="right" style="width: 90px"><strong><%= l(:label_time) %><span class="required"> * </span></strong></td>
|
||||
<td class="info" style="width: 10px">
|
||||
<%= select_tag 'time', "<option value = '2008'>2008</option>
|
||||
<option value = '2009'>2009</option>
|
||||
<option value = '2010'>2010</option>
|
||||
<option value = '2011'>2011</option>
|
||||
<option value = '2012'>2012</option>
|
||||
<option value = '2013'>2013</option>
|
||||
<option value = '2014' selected='selected'>2014</option>
|
||||
<option value = '2015'>2015</option>
|
||||
<option value = '2016'>2016</option>
|
||||
<option value = '2017'>2017</option>".html_safe %></td></tr></table></p>
|
||||
|
||||
<% elsif @course.time == 2015 %>
|
||||
<p><table><tr><td class="info" align="right" style="width: 90px"><strong><%= l(:label_time) %><span class="required"> * </span></strong></td>
|
||||
<td class="info" style="width: 10px">
|
||||
<%= select_tag 'time', "<option value = '2008'>2008</option>
|
||||
<option value = '2009'>2009</option>
|
||||
<option value = '2010'>2010</option>
|
||||
<option value = '2011'>2011</option>
|
||||
<option value = '2012'>2012</option>
|
||||
<option value = '2013'>2013</option>
|
||||
<option value = '2014'>2014</option>
|
||||
<option value = '2015' selected='selected'>2015</option>
|
||||
<option value = '2016'>2016</option>
|
||||
<option value = '2017'>2017</option>".html_safe %></td></tr></table></p>
|
||||
|
||||
<% elsif @course.time == 2016 %>
|
||||
<p><table><tr><td class="info" align="right" style="width: 90px"><strong><%= l(:label_time) %><span class="required"> * </span></strong></td>
|
||||
<td class="info" style="width: 10px">
|
||||
<%= select_tag 'time', "<option value = '2008'>2008</option>
|
||||
<option value = '2009'>2009</option>
|
||||
<option value = '2010'>2010</option>
|
||||
<option value = '2011'>2011</option>
|
||||
<option value = '2012'>2012</option>
|
||||
<option value = '2013'>2013</option>
|
||||
<option value = '2014'>2014</option>
|
||||
<option value = '2015'>2015</option>
|
||||
<option value = '2016' selected='selected'>2016</option>
|
||||
<option value = '2017'>2017</option>".html_safe %></td></tr></table></p>
|
||||
|
||||
<% elsif @course.time == 2017 %>
|
||||
<p><table><tr><td class="info" align="right" style="width: 90px"><strong><%= l(:label_time) %><span class="required"> * </span></strong></td>
|
||||
<td class="info" style="width: 10px">
|
||||
<%= select_tag 'time', "<option value = '2008'>2008</option>
|
||||
<option value = '2009'>2009</option>
|
||||
<option value = '2010'>2010</option>
|
||||
<option value = '2011'>2011</option>
|
||||
<option value = '2012'>2012</option>
|
||||
<option value = '2013'>2013</option>
|
||||
<option value = '2014'>2014</option>
|
||||
<option value = '2015'>2015</option>
|
||||
<option value = '2016'>2016</option>
|
||||
<option value = '2017' selected='selected'>2017</option>".html_safe %></td></tr></table></p>
|
||||
<% else %>
|
||||
<p><table><tr><td class="info" align="right" style="width: 90px"><strong><%= l(:label_time) %><span class="required"> * </span></strong></td>
|
||||
<td class="info" style="width: 10px">
|
||||
<%= select_tag 'time', "<option value = '2008'>2008</option>
|
||||
<option value = '2009'>2009</option>
|
||||
<option value = '2010'>2010</option>
|
||||
<option value = '2011'>2011</option>
|
||||
<option value = '2012'>2012</option>
|
||||
<option value = '2013'>2013</option>
|
||||
<option value = '2014'>2014</option>
|
||||
<option value = '2015'>2015</option>
|
||||
<option value = '2016'>2016</option>
|
||||
<option value = '2017'>2017</option>".html_safe %></td></tr></table></p>
|
||||
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<% unless @course.nil? %>
|
||||
<% if @course.term == l(:label_spring) %>
|
||||
<p><table><tr><td class="info" align="right" style="width: 90px"><strong><%= l(:label_term) %><span class="required"> * </span></strong></td>
|
||||
<td class="info" style="width: 10px">
|
||||
<%= select_tag 'term', "<option value = '#{l(:label_spring)}' selected='selected'>#{l(:label_spring)}</option>
|
||||
<option value = '#{l(:label_summer)}'>#{l(:label_summer)}</option>
|
||||
<option value = '#{l(:label_autumn)}'>#{l(:label_autumn)}</option>
|
||||
<option value = '#{l(:label_winter)}'>#{l(:label_winter)}</option>".html_safe %></td></tr></table></p>
|
||||
|
||||
<% elsif @course.term == l(:label_summer)%>
|
||||
<p><table><tr><td class="info" align="right" style="width: 90px"><strong><%= l(:label_term) %><span class="required"> * </span></strong></td>
|
||||
<td class="info" style="width: 10px">
|
||||
<%= select_tag 'term', "<option value = '#{l(:label_spring)}'>#{l(:label_spring)}</option>
|
||||
<option value = '#{l(:label_summer)}' selected='selected'>#{l(:label_summer)}</option>
|
||||
<option value = '#{l(:label_autumn)}'>#{l(:label_autumn)}</option>
|
||||
<option value = '#{l(:label_winter)}'>#{l(:label_winter)}</option>".html_safe %></td></tr></table></p>
|
||||
|
||||
<% elsif @course.term == l(:label_autumn)%>
|
||||
<p><table><tr><td class="info" align="right" style="width: 90px"><strong><%= l(:label_term) %><span class="required"> * </span></strong></td>
|
||||
<td class="info" style="width: 10px">
|
||||
<%= select_tag 'term', "<option value = '#{l(:label_spring)}'>#{l(:label_spring)}</option>
|
||||
<option value = '#{l(:label_summer)}'>#{l(:label_summer)}</option>
|
||||
<option value = '#{l(:label_autumn)}' selected='selected'>#{l(:label_autumn)}</option>
|
||||
<option value = '#{l(:label_winter)}'>#{l(:label_winter)}</option>".html_safe %></td></tr></table></p>
|
||||
|
||||
<% elsif @course.term == l(:label_winter)%>
|
||||
<p><table><tr><td class="info" align="right" style="width: 90px"><strong><%= l(:label_term) %><span class="required"> * </span></strong></td>
|
||||
<td class="info" style="width: 10px">
|
||||
<%= select_tag 'term', "<option value = '#{l(:label_spring)}'>#{l(:label_spring)}</option>
|
||||
<option value = '#{l(:label_summer)}'>#{l(:label_summer)}</option>
|
||||
<option value = '#{l(:label_autumn)}'>#{l(:label_autumn)}</option>
|
||||
<option value = '#{l(:label_winter)}' selected='selected'>#{l(:label_winter)}</option>".html_safe %></td></tr></table></p>
|
||||
|
||||
<% else %>
|
||||
<p><table><tr><td class="info" align="right" style="width: 90px"><strong><%= l(:label_term) %><span class="required"> * </span></strong></td>
|
||||
<td class="info" style="width: 10px">
|
||||
<%= select_tag 'term', "<option value = '#{l(:label_spring)}'>#{l(:label_spring)}</option>
|
||||
<option value = '#{l(:label_summer)}'>#{l(:label_summer)}</option>
|
||||
<option value = '#{l(:label_autumn)}'>#{l(:label_autumn)}</option>
|
||||
<option value = '#{l(:label_winter)}'>#{l(:label_winter)}</option>".html_safe %></td></tr></table></p>
|
||||
|
||||
<% end %>
|
||||
|
||||
<% end %>
|
||||
<!-- end -->
|
||||
|
||||
|
||||
<% end %>
|
||||
<!-- <p style="margin-left:-10px;"><%= f.check_box :is_public, :style => "margin-left:10px;" %></p> -->
|
||||
<p style="display:none;"><%= f.text_field :project_type, :value => 1 %></p>
|
||||
|
|
|
@ -52,6 +52,6 @@
|
|||
<p class="font_description">
|
||||
<table width="660"><tr><td><%=link_to image_tag(url_to_avatar(@user), :class => "avatar"), user_path(@user)%></td><td colspan="2">
|
||||
<table width="580">
|
||||
<tr><td ><%=link_to (h @user.lastname<<@user.firstname), user_path(@user) %> <%= l(:label_user_create_project) %> <%=link_to @project.name %><strong> !</strong></td></tr>
|
||||
<tr><td ><%=link_to (h @user.lastname+@user.firstname), user_path(@user) %> <%= l(:label_user_create_project) %> <%=link_to @project.name %><strong> !</strong></td></tr>
|
||||
<tr><td class="font_lighter" style="float: right"><%= format_time(@project.created_on) %></table></td></tr></table></p>
|
||||
<% end %>
|
||||
|
|
|
@ -1405,7 +1405,7 @@ zh:
|
|||
label_tags_user_name: 用户名:
|
||||
label_tags_numbers: Tag统计:
|
||||
label_max_number: 至多25个字符。
|
||||
label_mail_attention: qq邮箱可能收不到此邮件,其他邮箱如果没有收到可能在垃圾邮件中
|
||||
label_mail_attention: qq邮箱可能收不到此邮件,其他邮箱如果没有收到可能在垃圾邮件中,其中gmail与教育网邮箱的激活邮件有时比较慢,请耐心等待。
|
||||
label_all_revisions: 所有版本:
|
||||
label_upassword_info: 该密码在项目组内可共享
|
||||
label_how_commit_code: 查看如何提交代码:
|
||||
|
@ -1512,8 +1512,13 @@ zh:
|
|||
label_gender_male: 男
|
||||
label_gender_female: 女
|
||||
label_location: 地区
|
||||
label_brief_introduction: 修改我的状态
|
||||
label_brief_introduction: 个性签名
|
||||
label_my_brief_introduction: 今天的心情如何?留下你的脚印吧~
|
||||
label_time: 年度
|
||||
label_main_teacher: 主讲教师
|
||||
label_main_term: 课程学期
|
||||
label_teacher_work_unit: 教师单位
|
||||
label_course_time: 课程年度
|
||||
#end
|
||||
|
||||
label_course: 课程
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
class AddLocationCityToUserExtensions < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :user_extensions, :location_city, :string
|
||||
end
|
||||
end
|
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
Loading…
Reference in New Issue