|
|
|
@ -25,7 +25,7 @@
|
|
|
|
|
<td> <%= checked_image repository.is_default? %></td>
|
|
|
|
|
<td><%=h repository.scm_name %></td>
|
|
|
|
|
<%if repository.scm_name=="Git"%>
|
|
|
|
|
<td style="white-space:nowrap;overflow:hidden;text-overflow:ellipsis;" class="c_blue" title="http://<%= repository.login.to_s %>_<%= repository.identifier.to_s%>@<%= ip %>
|
|
|
|
|
<td style="white-space:nowrap;overflow:hidden;text-overflow:ellipsis;" title="http://<%= repository.login.to_s %>_<%= repository.identifier.to_s%>@<%= ip %>
|
|
|
|
|
<%=h repository.url.slice(project_path_cut, repository.url.length) %>"> <%=truncate( 'http://' << repository.login.to_s << '_'<< repository.identifier.to_s << '@'<< ip.to_s << h( repository.url.slice(project_path_cut, repository.url.length)),:length=>20)%></td><!--Modified by tanxianbo-->
|
|
|
|
|
<%else %>
|
|
|
|
|
<td style="white-space:nowrap;overflow:hidden;text-overflow:ellipsis;" ><%=h truncate(repository.url,:length=>10) %></td>
|
|
|
|
@ -33,8 +33,8 @@
|
|
|
|
|
<td><a href="javascript:viod(0)" class="c_blue" >
|
|
|
|
|
<% if repository.scm_name=="Git"%>
|
|
|
|
|
<%if User.current.allowed_to?(:manage_repository, @project) %>
|
|
|
|
|
<%= link_to(l(:label_user_plural), committers_repository_path(repository),
|
|
|
|
|
:class => 'c_blue') %>
|
|
|
|
|
<%= link_to(l(:label_user_plural), committers_repository_path(repository)
|
|
|
|
|
) %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</a></td>
|
|
|
|
|