Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
commit
0d8786f7dd
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,9 @@
|
||||
class GitCallbackController < ApplicationController
|
||||
|
||||
def post_update
|
||||
@repository = Repository.find_by_root_url(params[:root_url])
|
||||
@repository.fetch_changesets
|
||||
render :text => 'success'
|
||||
end
|
||||
|
||||
end
|
@ -1,7 +1,7 @@
|
||||
$('#attachments_<%= j params[:attachment_id] %>').remove();
|
||||
var count=$('#attachments_fields>span').length;
|
||||
if(count<=0){
|
||||
$("#upload_file_count").text("未上传文件");
|
||||
$("#upload_file_count").text(<%= l(:label_no_file_uploaded)%>);
|
||||
$(".remove_all").remove();
|
||||
}else{
|
||||
$("#upload_file_count").html("已上传"+"<span id=\"count\">"+count+"</span>"+"个文件");
|
||||
|
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue