修改了“顶”和“踩”的图标
|
@ -5,17 +5,17 @@
|
|||
<% @is_valuate = is_praise_or_tread(obj,user_id)%>
|
||||
<% if @is_valuate.size > 0 %> <!-- 评价过 1代表赞 0代表踩 -->
|
||||
<% @flag = @is_valuate.first.praise_or_tread %>
|
||||
<% if @flag == 1 %> <!-- 顶过 -->
|
||||
<% if @flag == 1 %> <!-- 顶过 --><!-- modified by bai -->
|
||||
<table style="line-height: 1px">
|
||||
<tr>
|
||||
<td ><%= image_tag "/images/praise_tread/praise_true.png" ,:title => l(:label_issue_praise_over) %></td>
|
||||
<td ><%= image_tag "/images/praise_tread/praise_false.png" , weight:"35px", height:"35px",:title => l(:label_issue_praise_over) %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><strong class="font_small_watch"><%= get_praise_num(obj)%></strong></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><%= image_tag "/images/praise_tread/tread_false.png",:title => l(:label_issue_appraise_over) %></td>
|
||||
<td><%= image_tag "/images/praise_tread/tread_false.png",weight:"35px", height:"35px",:title => l(:label_issue_appraise_over) %></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
@ -23,14 +23,14 @@
|
|||
|
||||
<table style="line-height: 1px">
|
||||
<tr>
|
||||
<td > <%= image_tag "/images/praise_tread/praise_false.png", :title => l(:label_issue_appraise_over) %></td>
|
||||
<td > <%= image_tag "/images/praise_tread/praise_false.png",weight:"35px", height:"35px", :title => l(:label_issue_appraise_over) %></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="center"><strong class="font_small_watch"><%= get_praise_num(obj)%></strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><%= image_tag "/images/praise_tread/tread_true.png",:title => l(:label_issue_tread_over) %> </td>
|
||||
<td><%= image_tag "/images/praise_tread/tread_false.png",weight:"35px", height:"35px",:title => l(:label_issue_tread_over) %> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<% end %>
|
||||
|
@ -39,18 +39,18 @@
|
|||
|
||||
<table style="line-height: 1px">
|
||||
<tr>
|
||||
<td > <%= link_to image_tag("/images/praise_tread/praise_false.png",:title => l(:label_issue_praise)),
|
||||
<td > <%= link_to image_tag("/images/praise_tread/praise_true.png",weight:"35px", height:"35px",:title => l(:label_issue_praise)),
|
||||
:controller=>"praise_tread",:action=>"praise_plus",:remote=>true,:obj_id => obj.id,:obj_type => obj.class%> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><strong class="font_small_watch"><%= get_praise_num(obj)%></strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> <%= link_to image_tag("/images/praise_tread/tread_false.png",:title => l(:label_issue_tread)),:controller=>"praise_tread",
|
||||
<td> <%= link_to image_tag("/images/praise_tread/tread_true.png",weight:"35px", height:"35px",:title => l(:label_issue_tread)),:controller=>"praise_tread",
|
||||
:action=>"tread_plus",:remote=>true,:obj_id => obj.id,:obj_type => obj.class %></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<!-- end -->
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1402,12 +1402,13 @@ zh:
|
|||
|
||||
label_welcome_leave_message: 您好!系统目前正在内测,有意见和建议请
|
||||
label_welcome_click_me: 点击我
|
||||
|
||||
# modified by bai
|
||||
label_issue_praise: 好问题,顶!
|
||||
label_issue_tread: 烂问题,踩!
|
||||
label_issue_praise_over: 已顶!
|
||||
label_issue_tread_over: 已踩!
|
||||
label_issue_appraise_over: 已评价!
|
||||
label_issue_praise_over: 我刚才顶过了~
|
||||
label_issue_tread_over: 我刚才踩过了~
|
||||
#end
|
||||
label_issue_appraise_over: 只能评价一次哦!
|
||||
label_welcome_my_respond: 请在此留下你的意见和建议!
|
||||
label_no_current_fans: 该用户暂无粉丝
|
||||
label_no_current_watchers: 该用户暂未关注其他用户
|
||||
|
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 9.7 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 9.5 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 8.2 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 8.2 KiB |