去掉注释掉的代码
This commit is contained in:
parent
5c36cf5c9d
commit
881d66103b
|
@ -10,7 +10,6 @@
|
||||||
<ul class="wmail_ul" style=" list-style-type:none;clear: both;margin-left:10px; border-bottom:1px dashed #cfcfcf; padding-bottom:15px; width:1020px; margin-bottom:15px;">
|
<ul class="wmail_ul" style=" list-style-type:none;clear: both;margin-left:10px; border-bottom:1px dashed #cfcfcf; padding-bottom:15px; width:1020px; margin-bottom:15px;">
|
||||||
<span class="wmail_h4" style="color:#474646; font-size:14px; margin-bottom:5px;" >
|
<span class="wmail_h4" style="color:#474646; font-size:14px; margin-bottom:5px;" >
|
||||||
<%= l(:label_course_news) %>
|
<%= l(:label_course_news) %>
|
||||||
<!--<span class="wmail_num" style="color:#fe3f0c; margin-left:5px; font-weight:normal;">(<%#= @course_news.count %>)</span>-->
|
|
||||||
</span>
|
</span>
|
||||||
<% @course_news.each do |course_new|%>
|
<% @course_news.each do |course_new|%>
|
||||||
<li style="clear: both; list-style: none;">
|
<li style="clear: both; list-style: none;">
|
||||||
|
@ -41,7 +40,6 @@
|
||||||
<ul class="wmail_ul" style="clear: both;margin-left:10px; border-bottom:1px dashed #cfcfcf; padding-bottom:15px; width:1020px; margin-bottom:15px;">
|
<ul class="wmail_ul" style="clear: both;margin-left:10px; border-bottom:1px dashed #cfcfcf; padding-bottom:15px; width:1020px; margin-bottom:15px;">
|
||||||
<span class="wmail_h4" style="color:#474646; font-size:14px; margin-bottom:5px;">
|
<span class="wmail_h4" style="color:#474646; font-size:14px; margin-bottom:5px;">
|
||||||
<%= l(:label_homework_overview) %>
|
<%= l(:label_homework_overview) %>
|
||||||
<!--<span class="wmail_num" style="color:#fe3f0c; margin-left:5px; font-weight:normal;">(<%#= @bids.count %>)</span>-->
|
|
||||||
</span>
|
</span>
|
||||||
<% unless @bids.first.nil?%>
|
<% unless @bids.first.nil?%>
|
||||||
<% @bids.each do |bid| %>
|
<% @bids.each do |bid| %>
|
||||||
|
@ -76,7 +74,6 @@
|
||||||
<ul class="wmail_ul" style="clear: both;margin-left:10px; border-bottom:1px dashed #cfcfcf; padding-bottom:15px; width:1020px; margin-bottom:15px;">
|
<ul class="wmail_ul" style="clear: both;margin-left:10px; border-bottom:1px dashed #cfcfcf; padding-bottom:15px; width:1020px; margin-bottom:15px;">
|
||||||
<span class="wmail_h4" style="color:#666; font-size:14px; margin-bottom:5px;" >
|
<span class="wmail_h4" style="color:#666; font-size:14px; margin-bottom:5px;" >
|
||||||
<%= l(:view_course_journals_for_messages) %>
|
<%= l(:view_course_journals_for_messages) %>
|
||||||
<!--<span class="wmail_num" style="color:#fe3f0c; margin-left:5px; font-weight:normal;">(<%#= @course_journal_messages.count %>)</span>-->
|
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<% @course_journal_messages.each do |course_journal_message|%>
|
<% @course_journal_messages.each do |course_journal_message|%>
|
||||||
|
@ -109,7 +106,6 @@
|
||||||
<ul class="wmail_ul" style="margin-left:10px; border-bottom:1px dashed #cfcfcf; padding-bottom:15px; width:1020px; margin-bottom:15px;">
|
<ul class="wmail_ul" style="margin-left:10px; border-bottom:1px dashed #cfcfcf; padding-bottom:15px; width:1020px; margin-bottom:15px;">
|
||||||
<span class="wmail_h4" style="color:#666; font-size:14px; margin-bottom:5px;" >
|
<span class="wmail_h4" style="color:#666; font-size:14px; margin-bottom:5px;" >
|
||||||
<%= l(:view_borad_course) %>
|
<%= l(:view_borad_course) %>
|
||||||
<!--<span class="wmail_num" style="color:#fe3f0c; margin-left:5px; font-weight:normal;">(<%#= @course_messages.count %>)</span>-->
|
|
||||||
</span>
|
</span>
|
||||||
<% @course_messages.each do |course_message|%>
|
<% @course_messages.each do |course_message|%>
|
||||||
<li style="clear: both; list-style: none;">
|
<li style="clear: both; list-style: none;">
|
||||||
|
@ -137,7 +133,6 @@
|
||||||
<ul class="wmail_ul" style="margin-left:10px; border-bottom:1px dashed #cfcfcf; padding-bottom:15px; width:1020px; margin-bottom:15px;">
|
<ul class="wmail_ul" style="margin-left:10px; border-bottom:1px dashed #cfcfcf; padding-bottom:15px; width:1020px; margin-bottom:15px;">
|
||||||
<span class="wmail_h4" style="color:#666; font-size:14px; margin-bottom:5px;" >
|
<span class="wmail_h4" style="color:#666; font-size:14px; margin-bottom:5px;" >
|
||||||
<%= l(:label_course_attendingcontestwork_download) %>
|
<%= l(:label_course_attendingcontestwork_download) %>
|
||||||
<!--<span class="wmail_num" style="color:#fe3f0c; margin-left:5px; font-weight:normal;">(<%#= @attachments.count %>)</span>-->
|
|
||||||
</span>
|
</span>
|
||||||
<% @attachments.each do |attachment|%>
|
<% @attachments.each do |attachment|%>
|
||||||
<li style="clear: both; list-style: none;">
|
<li style="clear: both; list-style: none;">
|
||||||
|
@ -174,7 +169,6 @@
|
||||||
<ul class="wmail_ul" style="margin-left:10px; border-bottom:1px dashed #cfcfcf; padding-bottom:15px; width:1020px; margin-bottom:15px;">
|
<ul class="wmail_ul" style="margin-left:10px; border-bottom:1px dashed #cfcfcf; padding-bottom:15px; width:1020px; margin-bottom:15px;">
|
||||||
<span class="wmail_h4" style="color:#666; font-size:14px; margin-bottom:5px;" >
|
<span class="wmail_h4" style="color:#666; font-size:14px; margin-bottom:5px;" >
|
||||||
<%= l(:label_issue_tracking) %>
|
<%= l(:label_issue_tracking) %>
|
||||||
<!--<span class="wmail_num" style="color:#fe3f0c; margin-left:5px; font-weight:normal;">(<%#= @issues.count %>)</span>-->
|
|
||||||
</span>
|
</span>
|
||||||
<% @issues.each do |issue|%>
|
<% @issues.each do |issue|%>
|
||||||
<li style="clear: both; list-style: none;">
|
<li style="clear: both; list-style: none;">
|
||||||
|
@ -203,7 +197,6 @@
|
||||||
<ul class="wmail_ul" style="margin-left:10px; border-bottom:1px dashed #cfcfcf; padding-bottom:15px; width:1020px; margin-bottom:15px;">
|
<ul class="wmail_ul" style="margin-left:10px; border-bottom:1px dashed #cfcfcf; padding-bottom:15px; width:1020px; margin-bottom:15px;">
|
||||||
<span class="wmail_h4" style="color:#666; font-size:14px; margin-bottom:5px;" >
|
<span class="wmail_h4" style="color:#666; font-size:14px; margin-bottom:5px;" >
|
||||||
<%= l(:project_moule_boards_show) %>
|
<%= l(:project_moule_boards_show) %>
|
||||||
<!--<span class="wmail_num" style="color:#fe3f0c; margin-left:5px; font-weight:normal;">(<%#= @project_messages.count %>)</span>-->
|
|
||||||
</span>
|
</span>
|
||||||
<% @project_messages.each do |project_message|%>
|
<% @project_messages.each do |project_message|%>
|
||||||
<li style="clear: both; list-style: none;">
|
<li style="clear: both; list-style: none;">
|
||||||
|
@ -236,7 +229,6 @@
|
||||||
<ul class="wmail_ul" style=" list-style-type:none;clear: both;margin-left:10px; border-bottom:1px dashed #cfcfcf; padding-bottom:15px; width:1020px; margin-bottom:15px;">
|
<ul class="wmail_ul" style=" list-style-type:none;clear: both;margin-left:10px; border-bottom:1px dashed #cfcfcf; padding-bottom:15px; width:1020px; margin-bottom:15px;">
|
||||||
<span class="wmail_h4" style="color:#666; font-size:14px; margin-bottom:5px;" >
|
<span class="wmail_h4" style="color:#666; font-size:14px; margin-bottom:5px;" >
|
||||||
<%= l(:label_wiki) %>
|
<%= l(:label_wiki) %>
|
||||||
<!--<span class="wmail_num" style="color:#fe3f0c; margin-left:5px; font-weight:normal;">(<%#= @project_news.count %>)</span>-->
|
|
||||||
</span>
|
</span>
|
||||||
<% @wiki_contents.each do |wikicontent|%>
|
<% @wiki_contents.each do |wikicontent|%>
|
||||||
<li style="clear: both; list-style: none;">
|
<li style="clear: both; list-style: none;">
|
||||||
|
@ -268,7 +260,6 @@
|
||||||
<ul class="wmail_ul" style=" list-style-type:none;clear: both;margin-left:10px; border-bottom:1px dashed #cfcfcf; padding-bottom:15px; width:1020px; margin-bottom:15px;">
|
<ul class="wmail_ul" style=" list-style-type:none;clear: both;margin-left:10px; border-bottom:1px dashed #cfcfcf; padding-bottom:15px; width:1020px; margin-bottom:15px;">
|
||||||
<span class="wmail_h4" style="color:#666; font-size:14px; margin-bottom:5px;" >
|
<span class="wmail_h4" style="color:#666; font-size:14px; margin-bottom:5px;" >
|
||||||
<%= l(:label_project_news) %>
|
<%= l(:label_project_news) %>
|
||||||
<!--<span class="wmail_num" style="color:#fe3f0c; margin-left:5px; font-weight:normal;">(<%#= @project_news.count %>)</span>-->
|
|
||||||
</span>
|
</span>
|
||||||
<% @project_news.each do |project_new|%>
|
<% @project_news.each do |project_new|%>
|
||||||
<li style="clear: both; list-style: none;">
|
<li style="clear: both; list-style: none;">
|
||||||
|
@ -298,7 +289,6 @@
|
||||||
<ul class="wmail_ul" style="clear: both;margin-left:10px; border-bottom:1px dashed #cfcfcf; padding-bottom:15px; width:1020px; margin-bottom:15px;">
|
<ul class="wmail_ul" style="clear: both;margin-left:10px; border-bottom:1px dashed #cfcfcf; padding-bottom:15px; width:1020px; margin-bottom:15px;">
|
||||||
<span class="wmail_h4" style="color:#666; font-size:14px; margin-bottom:5px;" >
|
<span class="wmail_h4" style="color:#666; font-size:14px; margin-bottom:5px;" >
|
||||||
<%= l(:label_project_mail_feedback) %>
|
<%= l(:label_project_mail_feedback) %>
|
||||||
<!--<span class="wmail_num" style="color:#fe3f0c; margin-left:5px; font-weight:normal;">(<%#= @course_journal_messages.count %>)</span>-->
|
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<% @project_journal_messages.each do |project_journal_message|%>
|
<% @project_journal_messages.each do |project_journal_message|%>
|
||||||
|
@ -336,7 +326,6 @@
|
||||||
<ul class="wmail_ul" style="margin-left:10px; border-bottom:1px dashed #cfcfcf; padding-bottom:15px; width:1020px; margin-bottom:15px;">
|
<ul class="wmail_ul" style="margin-left:10px; border-bottom:1px dashed #cfcfcf; padding-bottom:15px; width:1020px; margin-bottom:15px;">
|
||||||
<span class="wmail_h4" style="color:#666; font-size:14px; margin-bottom:5px;" >
|
<span class="wmail_h4" style="color:#666; font-size:14px; margin-bottom:5px;" >
|
||||||
<%= l(:label_user_message) %>
|
<%= l(:label_user_message) %>
|
||||||
<!--<span class="wmail_num" style="color:#fe3f0c; margin-left:5px; font-weight:normal;">(<%#= @user_journal_messages.count %>)</span>-->
|
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<% @user_journal_messages.each do |user_journal_message|%>
|
<% @user_journal_messages.each do |user_journal_message|%>
|
||||||
|
@ -395,7 +384,6 @@
|
||||||
<ul class="wmail_ul" style="margin-left:10px; border-bottom:1px dashed #cfcfcf; padding-bottom:15px; width:1020px; margin-bottom:15px;">
|
<ul class="wmail_ul" style="margin-left:10px; border-bottom:1px dashed #cfcfcf; padding-bottom:15px; width:1020px; margin-bottom:15px;">
|
||||||
<span class="wmail_h4" style="color:#474646; font-size:14px; margin-bottom:5px;" >
|
<span class="wmail_h4" style="color:#474646; font-size:14px; margin-bottom:5px;" >
|
||||||
<%= l(:label_user_message_forum) %>
|
<%= l(:label_user_message_forum) %>
|
||||||
<!--<span class="wmail_num" style="color:#fe3f0c; margin-left:5px; font-weight:normal;">(<%#= @memos.count %>)</span>-->
|
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<% @memos.each do |memo|%>
|
<% @memos.each do |memo|%>
|
||||||
|
|
|
@ -15,13 +15,13 @@
|
||||||
<%= link_to truncate(course_new.course.name,length: 30,omission: '...'), course_url(course_new.course, :token => @token.value)%>
|
<%= link_to truncate(course_new.course.name,length: 30,omission: '...'), course_url(course_new.course, :token => @token.value)%>
|
||||||
]
|
]
|
||||||
|
|
||||||
<%= link_to course_new.author, user_activities_url(course_new.author,:token => @token.value)
|
<%= link_to course_new.author, user_activities_url(course_new.author,:token => @token.value)
|
||||||
%>
|
%>
|
||||||
<%= l(:label_project_notice) %>
|
<%= l(:label_project_notice) %>
|
||||||
|
|
||||||
<%= link_to truncate(course_new.title,length: 30,omission: '...'), news_url(course_new,:token => @token.value)
|
<%= link_to truncate(course_new.title,length: 30,omission: '...'), news_url(course_new,:token => @token.value)
|
||||||
|
|
||||||
|
|
||||||
%> <%= format_time(course_new.created_on) %>
|
%> <%= format_time(course_new.created_on) %>
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
[
|
[
|
||||||
|
|
||||||
<%= link_to truncate(bid.course.name,length: 30,omission: '...'),course_url(bid.course, :token => @token.value)
|
<%= link_to truncate(bid.course.name,length: 30,omission: '...'),course_url(bid.course, :token => @token.value)
|
||||||
|
|
||||||
%>
|
%>
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -44,8 +44,8 @@
|
||||||
<%= l(:label_course_homework) %>
|
<%= l(:label_course_homework) %>
|
||||||
|
|
||||||
<%= link_to truncate(bid.name, length: 30,omission: '...'), student_work_index_path(:homework => bid.id,:token => @token.value)
|
<%= link_to truncate(bid.name, length: 30,omission: '...'), student_work_index_path(:homework => bid.id,:token => @token.value)
|
||||||
|
|
||||||
|
|
||||||
%>
|
%>
|
||||||
<%= format_time(bid.created_at) %>
|
<%= format_time(bid.created_at) %>
|
||||||
|
|
||||||
|
@ -66,17 +66,17 @@
|
||||||
[
|
[
|
||||||
|
|
||||||
<%= link_to truncate(course_journal_message.course.name,length: 30,omission: '...'), course_url(course_journal_message.course, :token => @token.value)
|
<%= link_to truncate(course_journal_message.course.name,length: 30,omission: '...'), course_url(course_journal_message.course, :token => @token.value)
|
||||||
|
|
||||||
%>
|
%>
|
||||||
]
|
]
|
||||||
|
|
||||||
<%= link_to course_journal_message.user, user_activities_url(course_journal_message.user,:token => @token.value)
|
<%= link_to course_journal_message.user, user_activities_url(course_journal_message.user,:token => @token.value)
|
||||||
%>
|
%>
|
||||||
<%= l(:label_send_course_journals_for_messages) %>
|
<%= l(:label_send_course_journals_for_messages) %>
|
||||||
|
|
||||||
<%= link_to truncate(course_journal_message.notes,length: 30,omission: '...'), course_feedback_url(course_journal_message.course,:token => @token.value)
|
<%= link_to truncate(course_journal_message.notes,length: 30,omission: '...'), course_feedback_url(course_journal_message.course,:token => @token.value)
|
||||||
|
|
||||||
|
|
||||||
%>
|
%>
|
||||||
<%= format_time(course_journal_message.created_on) %>
|
<%= format_time(course_journal_message.created_on) %>
|
||||||
|
|
||||||
|
@ -97,7 +97,7 @@
|
||||||
[
|
[
|
||||||
|
|
||||||
<%= link_to truncate(course_message.course.name,length: 30,omission: '...'), course_url(course_message.course, :token => @token.value)
|
<%= link_to truncate(course_message.course.name,length: 30,omission: '...'), course_url(course_message.course, :token => @token.value)
|
||||||
|
|
||||||
%>
|
%>
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -106,8 +106,8 @@
|
||||||
<%= l(:label_send_course_messages) %>
|
<%= l(:label_send_course_messages) %>
|
||||||
|
|
||||||
<%= link_to truncate(course_message.subject,length: 30,omission: '...'),board_message_url(course_message, :board_id => course_message.board_id,:token => @token.value)
|
<%= link_to truncate(course_message.subject,length: 30,omission: '...'),board_message_url(course_message, :board_id => course_message.board_id,:token => @token.value)
|
||||||
|
|
||||||
|
|
||||||
%>
|
%>
|
||||||
<%= format_time(course_message.created_on) %>
|
<%= format_time(course_message.created_on) %>
|
||||||
|
|
||||||
|
@ -126,7 +126,7 @@
|
||||||
▪[
|
▪[
|
||||||
|
|
||||||
<%= link_to truncate(attachment.course.name,length: 30,omission: '...'), course_url(attachment.course, :token => @token.value)
|
<%= link_to truncate(attachment.course.name,length: 30,omission: '...'), course_url(attachment.course, :token => @token.value)
|
||||||
|
|
||||||
%>
|
%>
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -135,8 +135,8 @@
|
||||||
<%= l(:label_course_file_upload) %>
|
<%= l(:label_course_file_upload) %>
|
||||||
|
|
||||||
<%= link_to truncate(attachment.filename,length: 30,omission: '...'),course_files_url(attachment.course,:token => @token.value)
|
<%= link_to truncate(attachment.filename,length: 30,omission: '...'),course_files_url(attachment.course,:token => @token.value)
|
||||||
|
|
||||||
|
|
||||||
%>
|
%>
|
||||||
<%= format_time(attachment.created_on) %>
|
<%= format_time(attachment.created_on) %>
|
||||||
</li>
|
</li>
|
||||||
|
@ -158,7 +158,7 @@
|
||||||
[
|
[
|
||||||
|
|
||||||
<%= link_to truncate(issue.project.name,length: 30,omission: '...'), project_url(issue.project, :token => @token.value)
|
<%= link_to truncate(issue.project.name,length: 30,omission: '...'), project_url(issue.project, :token => @token.value)
|
||||||
|
|
||||||
%>
|
%>
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -167,8 +167,8 @@
|
||||||
<%= l(:label_project_issue) %>
|
<%= l(:label_project_issue) %>
|
||||||
|
|
||||||
<%= link_to truncate(issue. subject,length: 30,omission: '...'),issue_url(issue, :token => @token.value)
|
<%= link_to truncate(issue. subject,length: 30,omission: '...'),issue_url(issue, :token => @token.value)
|
||||||
|
|
||||||
|
|
||||||
%>
|
%>
|
||||||
<%= format_time(issue.created_on) %>
|
<%= format_time(issue.created_on) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
@ -185,7 +185,7 @@
|
||||||
▪[
|
▪[
|
||||||
|
|
||||||
<%= link_to truncate(project_message.project.name,length: 30,omission: '...'), project_url(project_message.project, :token => @token.value)
|
<%= link_to truncate(project_message.project.name,length: 30,omission: '...'), project_url(project_message.project, :token => @token.value)
|
||||||
|
|
||||||
%>
|
%>
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -194,8 +194,8 @@
|
||||||
<%= l(:label_send_course_messages) %>
|
<%= l(:label_send_course_messages) %>
|
||||||
|
|
||||||
<%= link_to truncate(project_message. subject,length: 30,omission: '...'),board_message_url(project_message, :board_id => project_message.board_id,:token => @token.value)
|
<%= link_to truncate(project_message. subject,length: 30,omission: '...'),board_message_url(project_message, :board_id => project_message.board_id,:token => @token.value)
|
||||||
|
|
||||||
|
|
||||||
%>
|
%>
|
||||||
<%= format_time(project_message.created_on) %>
|
<%= format_time(project_message.created_on) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
@ -277,13 +277,13 @@
|
||||||
▪
|
▪
|
||||||
|
|
||||||
<%= link_to user_journal_message.user, user_activities_url(user_journal_message.user,:token => @token.value)
|
<%= link_to user_journal_message.user, user_activities_url(user_journal_message.user,:token => @token.value)
|
||||||
|
|
||||||
%>
|
%>
|
||||||
<%= l(:label_show_your_message) %>
|
<%= l(:label_show_your_message) %>
|
||||||
|
|
||||||
<%= link_to truncate(user_journal_message.notes,length: 30,omission: '...'), feedback_url(@user,:token => @token.value)
|
<%= link_to truncate(user_journal_message.notes,length: 30,omission: '...'), feedback_url(@user,:token => @token.value)
|
||||||
|
|
||||||
|
|
||||||
%>
|
%>
|
||||||
<%= format_time(user_journal_message.created_on) %>
|
<%= format_time(user_journal_message.created_on) %>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue