forked from jacknudt/trustieforge
parent
eef2d8ef1a
commit
62ff95c4af
|
@ -30,7 +30,7 @@
|
||||||
<div class="inf_user_image">
|
<div class="inf_user_image">
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td><%= link_to image_tag(url_to_avatar(@project), :class => 'avatar') %></td>
|
<td><%= link_to image_tag(url_to_avatar(@project), :class => 'avatar2') %></td>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<div class="info_font">
|
<div class="info_font">
|
||||||
<%= textilizable @project.name %>
|
<%= textilizable @project.name %>
|
||||||
|
@ -41,30 +41,22 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</div></td>
|
</div></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<!--tags-->
|
|
||||||
<div class="tags">
|
|
||||||
<!-- added by william -for tag -->
|
|
||||||
<div id="tags">
|
|
||||||
<%= render :partial => 'tags/tag', :locals => {:obj => @project,:object_flag => "2"}%>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--parameter-->
|
<!--parameter-->
|
||||||
<div class="user_fans">
|
<div class="user_fans">
|
||||||
<div class="user_underline"></div>
|
|
||||||
<table width="240" border="0">
|
<table width="240" border="0">
|
||||||
<tr align="center" width="80px">
|
<tr align="center" width="80px">
|
||||||
|
|
||||||
<td class="font_index"><%= @project.members.count %></td>
|
<td class="font_index"><%=link_to "#{@project.members.count}", project_member_path(@project) %></td>
|
||||||
<td class="font_index"><%= @project.issues.count %></td>
|
<td class="font_index"><%=link_to "#{@project.issues.count}", project_issues_path(@project) %></td>
|
||||||
<td class="font_index"><%= @project.attachments.count %></td>
|
<td class="font_index"><%=link_to "#{@project.attachments.count}", project_files_path(@project) %></td> <!-- project_issues_path(@project), :class => 'project_infor_tag' -->
|
||||||
<tr>
|
<tr class="font_aram">
|
||||||
<td align="center" width="80px"><strong style="font-size:13px"> <%= link_to(l(:label_member), project_member_path(@project), :class => 'project_infor_tag') %></strong></td>
|
<td align="center" width="80px"> <%= l(:label_member) %></td>
|
||||||
<td align="center" width="80px"><strong style="font-size:13px"> <%= link_to(l(:label_project_defects), project_issues_path(@project), :class => 'project_infor_tag') %></strong></td>
|
<td align="center" width="80px"> <%= l(:label_project_defects) %></td>
|
||||||
<td align="center" width="80px"><strong style="font-size:13px"> <%= link_to(l(:label_attachment), project_files_path(@project), :class => 'project_infor_tag') %></strong></td>
|
<td align="center" width="80px"><%= l(:label_attachment) %></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<div class="user_underline"></div>
|
<div class="user_underline"></div>
|
||||||
|
@ -86,8 +78,20 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="user_underline"></div>
|
<div class="user_underline"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<!--tags-->
|
||||||
|
|
||||||
|
<div class="user_fans">
|
||||||
|
<!-- added by william -for tag -->
|
||||||
|
<div class="user_tags">
|
||||||
|
<div id="tags">
|
||||||
|
<%= render :partial => 'tags/tag', :locals => {:obj => @project,:object_flag => "2"}%>
|
||||||
|
</div></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!--tool-->
|
<!--tool-->
|
||||||
|
<div class="user_underline"></div>
|
||||||
<div class="tool">
|
<div class="tool">
|
||||||
<div class="font_title_left">
|
<div class="font_title_left">
|
||||||
<%= l(:label_project_tool)%>
|
<%= l(:label_project_tool)%>
|
||||||
|
|
|
@ -48,8 +48,8 @@
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<%= l(:label_user_watcher) %> (<strong class="font_small_watch"><%=link_to User.watched_by(@user.id).count ,:controller=>"users", :action=>"user_watchlist"%></strong>)
|
<%= l(:label_user_watcher) %> (<strong class="font_small_watch"><%=link_to User.watched_by(@user.id).count ,:controller=>"users", :action=>"user_watchlist"%></strong>)
|
||||||
<%= render :partial => "watchers/fans_num",:locals => {:fans_num => get_fans_num(@user) }%>
|
|
||||||
|
<%= l(:label_user_fans) %> (<strong class="font_small_watch"><%=link_to @user.watcher_users(@user.id).count, :controller=>"users", :action=>"user_fanslist" %></strong>)
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -69,9 +69,19 @@
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!--tags-->
|
||||||
<div class="user_underline"></div>
|
<div class="user_underline"></div>
|
||||||
|
<div class="user_fans">
|
||||||
|
<!-- added by william -for tag -->
|
||||||
|
<div class="user_tags">
|
||||||
|
<div id="tags">
|
||||||
|
<%= render :partial => 'tags/tag', :locals => {:obj => @user,:object_flag => "1"}%>
|
||||||
|
</div></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!--watch-->
|
<!--watch-->
|
||||||
|
<div class="user_underline"></div>
|
||||||
<div class="user_fans">
|
<div class="user_fans">
|
||||||
<div class="font_title_left">
|
<div class="font_title_left">
|
||||||
<strong><%= l(:label_user_watcher) %></strong>
|
<strong><%= l(:label_user_watcher) %></strong>
|
||||||
|
|
|
@ -58,6 +58,11 @@ ul.tool li{list-style-type:none;
|
||||||
font-family: 微软雅黑;
|
font-family: 微软雅黑;
|
||||||
color:#068d9c;
|
color:#068d9c;
|
||||||
}
|
}
|
||||||
|
.font_aram{
|
||||||
|
font-size: 14px;
|
||||||
|
font-family: 微软雅黑;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
.font_content{
|
.font_content{
|
||||||
font-size:14px;
|
font-size:14px;
|
||||||
font-family: 微软雅黑;
|
font-family: 微软雅黑;
|
||||||
|
@ -270,6 +275,13 @@ ul.tool li{list-style-type:none;
|
||||||
height: auto;
|
height: auto;
|
||||||
/*color:#fff; */
|
/*color:#fff; */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.user_tags{
|
||||||
|
padding-top: 5px;
|
||||||
|
padding-bottom: 5px;
|
||||||
|
padding-left: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
.tool{
|
.tool{
|
||||||
padding-left:0px;
|
padding-left:0px;
|
||||||
margin:0px 0px 0px 0px;
|
margin:0px 0px 0px 0px;
|
||||||
|
|
Loading…
Reference in New Issue