diff --git a/app/views/projects/settings/_new_repositories.html.erb b/app/views/projects/settings/_new_repositories.html.erb
index 4653916a7..5196fd8e8 100644
--- a/app/views/projects/settings/_new_repositories.html.erb
+++ b/app/views/projects/settings/_new_repositories.html.erb
@@ -72,7 +72,7 @@
<%= repository.identifier %>
<%=h repository.scm_name %> |
<%if repository.scm_name=="Git"%>
-
<%=truncate( 'http://' << repository.login.to_s << '_'<< repository.identifier.to_s << '@'<< ip.to_s << h( repository.url.slice(project_path_cut, repository.url.length)),:length=>60) %>
diff --git a/public/javascripts/project.js b/public/javascripts/project.js
index 5ba7c7145..9344434eb 100644
--- a/public/javascripts/project.js
+++ b/public/javascripts/project.js
@@ -517,6 +517,11 @@ function jsCopy(){
e.select();
document.execCommand("Copy");
}
+function jsCopy2(){
+ var e=document.getElementById("copy_rep_content2");
+ e.select();
+ document.execCommand("Copy");
+}
function zip(){
alert("该功能正在紧张的开发中,我们会争取在最短时间内上线,如若对您工作造成不便敬请谅解!")
diff --git a/public/stylesheets/public.css b/public/stylesheets/public.css
index 0c4479907..49b2906aa 100644
--- a/public/stylesheets/public.css
+++ b/public/stylesheets/public.css
@@ -117,6 +117,7 @@ h4{ font-size:14px; color:#3b3b3b;}
.mb10{ margin-bottom:10px !important;}
.mb20{ margin-bottom:20px;}
.pl15{ padding-left:15px;}
+.pl5{ padding-left:5px;}
.pt5{ padding-top:5px;}
.pt10{ padding-top:10px;}
.pb5{ padding-bottom: 5px;}
|