|
|
|
@ -1,16 +1,3 @@
|
|
|
|
|
<!--最新反馈
|
|
|
|
|
<div>
|
|
|
|
|
<div style="padding:40px 0px 0px 0px">
|
|
|
|
|
<table><tr><td><h3><strong><%= link_to l(:label_user_newfeedback), home_path %></strong></h3>start a...</td></tr></table></div>
|
|
|
|
|
<div style="margin:1;padding:1;width:99%;height:1px;background-color:#dbdbdb;overflow:hidden"></div>
|
|
|
|
|
|
|
|
|
|
<ul class="context_projects">
|
|
|
|
|
<li><table width="99%">
|
|
|
|
|
<tr> <td align="center" valign="middle"><img src="/images/user_images/user2.png" width="40" height="40"/></td><td><div class="firstname_project"><strong><%=link_to "huang",home_path%></strong>对我评价了: </div></td><td><div class="tablecontext_single">新建问题的时候存在一个bug,需要解决卡涵盖的垃圾卡拉格德国的萨嘎...</div></td><td width="200" align="right" valign="middle"> <img src="/images/user_images/share.png"/></td></tr>
|
|
|
|
|
|
|
|
|
|
</table></li></ul></div>
|
|
|
|
|
<div class=more><%= link_to"更多",:contoller=>'project',:action=>'index'%></div>-->
|
|
|
|
|
<!--activities add bu huang-->
|
|
|
|
|
<% if @events_by_day.size >0 %>
|
|
|
|
|
<div style="padding-left: 8px">
|
|
|
|
|
<h3><%= @author.nil? ? l(:label_activity) : l(:label_user_activity, link_to_user(@author)).html_safe %></h3>
|
|
|
|
@ -54,54 +41,3 @@
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= l(:label_project_no_activity) %>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
|
<%= content_tag('p', l(:label_no_data), :class => 'nodata') if @events_by_day.empty? %>
|
|
|
|
|
|
|
|
|
|
<div style="float:left;">
|
|
|
|
|
<%= link_to_content_update("\xc2\xab " + l(:label_previous),
|
|
|
|
|
params.merge(:from => @date_to - @days - 1),
|
|
|
|
|
:title => l(:label_date_from_to, :start => format_date(@date_to - 2*@days), :end => format_date(@date_to - @days - 1))) %>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="float:right;">
|
|
|
|
|
<%= link_to_content_update(l(:label_next) + " \xc2\xbb",
|
|
|
|
|
params.merge(:from => @date_to + @days - 1),
|
|
|
|
|
:title => l(:label_date_from_to, :start => format_date(@date_to), :end => format_date(@date_to + @days - 1))) unless @date_to >= Date.today %>
|
|
|
|
|
</div>
|
|
|
|
|
<% other_formats_links do |f| %>
|
|
|
|
|
<%= f.link_to 'Atom', :url => params.merge(:from => nil, :key => User.current.rss_key) %>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
<% content_for :header_tags do %>
|
|
|
|
|
<%= auto_discovery_link_tag(:atom, params.merge(:format => 'atom', :from => nil, :key => User.current.rss_key)) %>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
<% content_for :sidebar do %>
|
|
|
|
|
<%= form_tag({}, :method => :get) do %>
|
|
|
|
|
<h3><%= l(:label_activity) %></h3>
|
|
|
|
|
<p>
|
|
|
|
|
<% @activity.event_types.each do |t| %>
|
|
|
|
|
<%= check_box_tag "show_#{t}", 1, @activity.scope.include?(t) %>
|
|
|
|
|
<label for="show_<%= t%>"><%= link_to(l("label_#{t.singularize}_plural"), {"show_#{t}" => 1, :user_id => params[:user_id], :from => params[:from]})%></label>
|
|
|
|
|
<br />
|
|
|
|
|
<% end %>
|
|
|
|
|
</p>
|
|
|
|
|
<% if @project && @project.descendants.active.any? %>
|
|
|
|
|
<%= hidden_field_tag 'with_subprojects', 0 %>
|
|
|
|
|
<p>
|
|
|
|
|
<label><%= check_box_tag 'with_subprojects', 1, @with_subprojects %> <%= l(:label_subproject_plural)%></label>
|
|
|
|
|
</p>
|
|
|
|
|
<% end %>
|
|
|
|
|
<%= hidden_field_tag('user_id', params[:user_id]) unless params[:user_id].blank? %>
|
|
|
|
|
<p>
|
|
|
|
|
<%= submit_tag l(:button_apply), :class => 'button-small', :name => nil %>
|
|
|
|
|
</p>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
<% html_title(l(:label_activity), @author) -%> -->
|
|
|
|
|