固定了几个常见名称换行,tag标签显示问题

This commit is contained in:
huangjingquan 2013-08-13 10:19:50 +08:00
parent 2dc1d5e935
commit d87c2194b9
3 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@
<td>
<table>
<tr>
<td class="info_font" align="center"><%= h @user.lastname<<@user.firstname %> <%=image_tag("/images/sidebar/male.png", weight:"11px", height:"11px") %>
<td class="info_font" align="center" style=" word-wrap: break-word; word-break: break-all"><%= h @user.lastname<<@user.firstname %> <%=image_tag("/images/sidebar/male.png", weight:"11px", height:"11px") %>
</td>
</tr>
<tr>
@ -64,7 +64,7 @@
<td style="padding-left: 8px"><%= l(:label_user_login) %></td><td class="font_lighter_sidebar"><%= format_date(@user.last_login_on) %></td>
</tr>
<tr>
<td style="padding-left: 8px;"><%= l(:label_user_mail) %></td><td class="font_lighter_sidebar" style=" word-wrap: break-word; word-break: break-all"><%= mail_to(h(@user.mail), nil, :encode => 'javascript') %></td>
<td valign="top" style="padding-left: 8px;"><%= l(:label_user_mail) %></td><td class="font_lighter_sidebar" style=" word-wrap: break-word; word-break: break-all"><%= mail_to(h(@user.mail), nil, :encode => 'javascript') %></td>
</tr>
</table>

View File

@ -1,6 +1,6 @@
<div id="tags">
<% if User.current.logged? %>
<%= tag('img', {:src => "/images/sidebar/tags.png"}, false, false) %>
<%= image_tag("/images/sidebar/tags.png") %>
<% end %>
<strong><label><%= l(:label_tag) %>:</label></strong>
<!-- 1代表是user类型 2代表是project类型 3代表是issue类型 -->

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 859 KiB