<% id = 'project_respond_form_'+ reply.id.to_s %>
-
<%= link_to reply.user.name, user_path(reply.user) %>:
-
<%= reply.notes %>
+
<%= link_to reply.user.name, user_path(reply.user) %>:
+
<%= reply.notes %>
<% ids = 'project_respond_form_'+ journal.id.to_s%>
-
-
- <%= format_time reply.created_on %>
+
+ <%= format_time reply.created_on %>
<%#= toggle_link l(:label_projects_feedback_respond), id, {:focus => 'project_respond'} %>
<%= link_to l(:label_projects_feedback_respond),'',
diff --git a/app/views/words/_message.html.erb b/app/views/words/_message.html.erb
index 2f8d5ecc2..b756141bd 100644
--- a/app/views/words/_message.html.erb
+++ b/app/views/words/_message.html.erb
@@ -1,47 +1,9 @@
-
-
<% if jour.size >0 %>
<% remove_allowed = (User.current.id == jour.first.user_id) %>
<% for journal in jour%>
- -
+
-
<%= image_tag(url_to_avatar(journal.user), :class => "avatar") %>
<%= link_to journal.user, user_path(journal.user)%>
@@ -62,7 +24,7 @@ ul.message-for-user li {
%>
-
style="display: none; width: 80%; margin: auto;">
+
class="respond-form">
<%= render :partial => 'words/new_respond', :locals => {:journal => journal, :m_reply_id => journal.id} %>
diff --git a/public/themes/redpenny-master/stylesheets/application.css b/public/themes/redpenny-master/stylesheets/application.css
index 7c7f648a5..61b2b13cd 100644
--- a/public/themes/redpenny-master/stylesheets/application.css
+++ b/public/themes/redpenny-master/stylesheets/application.css
@@ -310,7 +310,7 @@ ul.projects li.root
padding:5%; /*项目界面的宽度 */
height:25px;
background-color:#0ee; /* 项目界面 #eee*/
- margin:0 0 10px;
+ margin:0 0 0 10px;
display:inline-block;
width:90%;
vertical-align:top;
@@ -2050,13 +2050,78 @@ div.avatar_user{
-o-text-overflow: ellipsis;
}
- .avatar-3{
- width: 35px;
- height: 35px;
- }
- .inner-right{
- float: left;
- }
- .messages-for_user-reply{
- margin-top: 10px;
- }
+/*
+ * *
+ *Designed for message.
+ */
+li {
+ list-style-type: none;
+}
+.avatar-3{
+ width: 35px;
+ height: 35px;
+}
+.inner-right{
+ float: left;
+}
+.messages-for-user-reply{
+ margin-top: 10px;
+ padding-left: 60px;
+}
+
+ul.message-for-user {
+ list-style-type: none;
+ margin: 0px;
+ padding: 0px;
+ font-family: 微软雅黑,Verdana,sans-serif,宋体;
+ text-align: left;
+ font-size: 10pt;
+ width: 100%;
+
+}
+
+ul.message-for-user li.outer-message-for-user {
+ margin-left: 20px;
+ border-bottom: 1px solid rgb(213, 222, 233);
+ margin-bottom: 10px;
+ margin-top: 10px;
+}
+
+.portrait{
+ float: left;
+ width: 40px;
+ padding-top: 3px;
+ margin: 0px;
+ padding: 0px;
+ display: block;
+ }
+
+span.body{
+ float: left;
+ width: 80%;
+ overflow: hidden;
+ font-size: 9pt;
+ margin: 0px 10px;
+ padding: 0px;
+ display: block;
+ margin-left: 20px;
+ }
+
+ span.time{
+ color: rgb(172,174,174);
+ }
+
+ .message-notes{
+ max-width: 80%;
+ word-wrap: break-word;
+ }
+
+ul.messages-for-user-reply li {
+ padding-bottom: 4px;
+}
+
+.respond-form{
+ display: none;
+ width: 80%;
+ margin: auto;
+}
\ No newline at end of file