在“课程实践->讨论区”为匿名用户不能进行评论添加登陆的提示以及登陆的链接

在“课程实践->留言”中的用户反馈改为用户留言
将“课程实践”中讨论区、资源库、课程通知和留言中提示语格式进行统一
This commit is contained in:
wanglinchun 2014-01-21 15:32:00 +08:00
parent 002ddd6015
commit f0132a0f5f
6 changed files with 26 additions and 6 deletions

View File

@ -26,6 +26,19 @@
<!--display the board-->
<div class="borad-title"><%=h @board.name %></div>
<% if !User.current.logged?%>
<div style="font-size: 14px;margin:20px;">
<% if @project.project_type == 1 %>
<%= l(:label_user_login_course_board) %>
<% else %>
<%= l(:label_user_login_project_board) %>
<% end %>
<%= link_to l(:label_user_login_new), signin_path %>
<hr/>
</div>
<% end %>
<!-- <div class="borad-description"><%=h @board.description %></div> -->
<div class="borad-setitle">
<span class="borad-topic-count">共有 <%=link_to @topics.count %> 个贴子</span>

View File

@ -51,6 +51,9 @@
}
</style>
<span class="borad-title"><%=(@project.project_type == 1) ? t(:label_user_course) : t(:label_project) %>文件共享专区</span>
<div class="content-title-top">
<% if @project.project_type == 1 %>
<% label_str = l(:label_file_upload) %>

View File

@ -28,7 +28,7 @@
</div>
<% end %>
<!--add by huang :list news-->
<h3 style="font-weight:bold; border-bottom:1px solid #f0f0f0"><%=label_tips%></h3>
<h3 style="font-weight:400; margin-left:0px; margin-top:-12px; margin-left:-5px; border-bottom:1px solid #f0f0f0"><%=label_tips%></h3>
<div>
<% if @newss.empty? %>
<p class="nodata">

View File

@ -39,6 +39,7 @@ function checkMaxLength() {
<% reply_allow = JournalsForMessage.create_by_user? User.current %>
<h3><%= l(:label_user_response) %></h3>
<% if !User.current.logged?%>
<div style="font-size: 14px;margin:20px;">
<%= l(:label_user_login_tips) %>

View File

@ -543,6 +543,8 @@ zh:
label_activities_settings: 显示设置
label_user_login_new: 登录
label_user_login_tips: 您还没有登录,请登录后留言
label_user_login_course_board: 您还没有登录,请登录后参与课程讨论
label_user_login_project_board: 您还没有登录,请登录后参与项目讨论
#end
#by huang # modified by bai
label_college: 高校进入
@ -1314,7 +1316,7 @@ zh:
label_message: 留言板
field_add: 添加于 %{time} 之前
button_more: 更多
label_user_response: 用户反馈
label_user_response: 用户留言
label_student_response: 作业答疑 # modified by bai
label_bidding_project: 参与项目
label_homework_project: 已提交作业 #huang
@ -1410,6 +1412,7 @@ zh:
label_has_praisers: 赞(%{count})
label_has_watchers: 关注(%{count})
label_has_fans: 粉丝(%{count})
label_coursefile_sharingarea: 课程文件共享专区
#modify by men
label_x_has_fans:
zero: 粉丝(%{count})
@ -1779,7 +1782,7 @@ zh:
label_forum_edit: 编辑讨论区
label_memo_create: 发布
label_memo_new: 新建主题
label_memo_edit: 修改主题
label_memo_edit: 修改主题label_board_new
label_memo_new_from_forum: 发布帖子
label_forum: 公共贴吧
label_forum_new: 新建贴吧

View File

@ -4,7 +4,7 @@ body { font-family:'微软雅黑', Verdana, sans-serif; font-size: 13px; color:#
h1, h2, h3, h4 {font-family: '微软雅黑', "Trebuchet MS", Verdana, sans-serif;padding: 2px 10px 1px 0px;margin: 0 0 10px 0;}
#content h1, h2, h3, h4 {color: #555;}
h2, .wiki h1 {font-size: 20px;}
h3, .wiki h2 {font-size: 15px;}
h3, .wiki h2 {font-size: 15px; padding-left: 5px}
h4, .wiki h3 {font-size: 13px;}
h4 {border-bottom: 1px dotted #bbb;}
/*huang*/
@ -284,10 +284,10 @@ span.forums-avatar-right{
.borad-title{
font-size: 15px;
color: #ed8924;
color: #555555;
padding-left: 5px;
padding-top: -5px;
font-weight: bold;
font-weight: 400;
}
.borad-setitle{