You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

_project_commit.html.erb 1.4 kB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
12345678910111213141516171819202122232425262728
  1. <% project = Project.find(activity.project_id) %>
  2. <% user = get_user_by_mail(activity.committer) %>
  3. <div class="resources mt10">
  4. <div class="homepagePostBrief">
  5. <div class="homepagePostPortrait">
  6. <%= link_to image_tag(url_to_avatar(user), :width => "50", :height => "50"), user_path(user), :alt => "用户头像" %>
  7. <%= render :partial => 'users/show_detail_info', :locals => {:user => user} %>
  8. </div>
  9. <div class="homepagePostDes">
  10. <div class="homepagePostTo break_word">
  11. <% if user.try(:realname) == ' ' %>
  12. <%= link_to user, user_path(user), :class => "newsBlue mr15" %>
  13. <% else %>
  14. <%= link_to user.try(:realname), user_path(user), :class => "newsBlue mr15" %>
  15. <% end %>
  16. TO
  17. <%= link_to project.to_s+" | 项目代码提交", project_path(project.id,:host=>Setting.host_course), :class => "newsBlue ml15" %>
  18. </div>
  19. <div class="homepagePostTitle break_word" >
  20. <%= link_to activity.comments, {:controller => 'repositories', :action => 'commit_diff', :id => project.id, :repository_id => identifier, :changeset => activity.version}, :class => "postGrey" %>
  21. </div>
  22. <div class="homepagePostDate">
  23. 提交时间:<%= format_time(activity.committed_on) %>
  24. </div>
  25. </div>
  26. <div class="cl"></div>
  27. </div>
  28. </div>

软件技术创新是当今国家整体创新能力的重要基础和发展引擎。近年来,大众参与的软件创新与创业活动已经成为网络时代软件开发和应用的新形态,正在快速改变着全球软件创新模式和软件产业格局。 ...