mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-03 21:08:25 +00:00 
			
		
		
		
	@@ -5,7 +5,7 @@ Gogs - Go Git Service [
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
##### Current version: 0.7.4 Beta
 | 
					##### Current version: 0.7.5 Beta
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<table>
 | 
					<table>
 | 
				
			||||||
    <tr>
 | 
					    <tr>
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								gogs.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								gogs.go
									
									
									
									
									
								
							@@ -17,7 +17,7 @@ import (
 | 
				
			|||||||
	"github.com/gogits/gogs/modules/setting"
 | 
						"github.com/gogits/gogs/modules/setting"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const APP_VER = "0.7.4.1110 Beta"
 | 
					const APP_VER = "0.7.5.1111 Beta"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func init() {
 | 
					func init() {
 | 
				
			||||||
	runtime.GOMAXPROCS(runtime.NumCPU())
 | 
						runtime.GOMAXPROCS(runtime.NumCPU())
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -21,6 +21,8 @@ function initCommentPreviewTab($form) {
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
        );
 | 
					        );
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    buttonsClickOnEnter();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function initCommentForm() {
 | 
					function initCommentForm() {
 | 
				
			||||||
@@ -537,6 +539,13 @@ function initAdmin() {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function buttonsClickOnEnter() {
 | 
				
			||||||
 | 
					    $('.ui.button').keypress(function(e){
 | 
				
			||||||
 | 
					        if (e.keyCode == 13)
 | 
				
			||||||
 | 
					            $(this).click();
 | 
				
			||||||
 | 
					    });
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$(document).ready(function () {
 | 
					$(document).ready(function () {
 | 
				
			||||||
    csrf = $('meta[name=_csrf]').attr("content");
 | 
					    csrf = $('meta[name=_csrf]').attr("content");
 | 
				
			||||||
    suburl = $('meta[name=_suburl]').attr("content");
 | 
					    suburl = $('meta[name=_suburl]').attr("content");
 | 
				
			||||||
@@ -670,6 +679,8 @@ $(document).ready(function () {
 | 
				
			|||||||
        $($(this).data('modal')).modal('show');
 | 
					        $($(this).data('modal')).modal('show');
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    buttonsClickOnEnter();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    initCommentForm();
 | 
					    initCommentForm();
 | 
				
			||||||
    initInstall();
 | 
					    initInstall();
 | 
				
			||||||
    initRepository();
 | 
					    initRepository();
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1 +1 @@
 | 
				
			|||||||
0.7.4.1110 Beta
 | 
					0.7.5.1111 Beta
 | 
				
			||||||
@@ -4,7 +4,7 @@
 | 
				
			|||||||
    <a class="item" data-tab="preview"  data-url="{{AppSubUrl}}/api/v1/markdown" data-context="{{.RepoLink}}">{{.i18n.Tr "repo.release.preview"}}</a>
 | 
					    <a class="item" data-tab="preview"  data-url="{{AppSubUrl}}/api/v1/markdown" data-context="{{.RepoLink}}">{{.i18n.Tr "repo.release.preview"}}</a>
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
  <div class="ui bottom attached active tab segment" data-tab="write">
 | 
					  <div class="ui bottom attached active tab segment" data-tab="write">
 | 
				
			||||||
    <textarea id="content" name="content"></textarea>
 | 
					    <textarea id="content" name="content" tabindex="1"></textarea>
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
  <div class="ui bottom attached tab segment markdown" data-tab="preview">
 | 
					  <div class="ui bottom attached tab segment markdown" data-tab="preview">
 | 
				
			||||||
    {{.i18n.Tr "repo.release.loading"}}
 | 
					    {{.i18n.Tr "repo.release.loading"}}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -210,12 +210,12 @@
 | 
				
			|||||||
									{{.i18n.Tr "repo.issues.reopen_issue"}}
 | 
														{{.i18n.Tr "repo.issues.reopen_issue"}}
 | 
				
			||||||
								</div>
 | 
													</div>
 | 
				
			||||||
				      	{{else}}
 | 
									      	{{else}}
 | 
				
			||||||
								<div id="status-button" class="ui red basic button" data-status="{{.i18n.Tr "repo.issues.close_issue"}}" data-status-and-comment="{{.i18n.Tr "repo.issues.close_comment_issue"}}" data-status-val="close">
 | 
													<div id="status-button" class="ui red basic button" tabindex="3" data-status="{{.i18n.Tr "repo.issues.close_issue"}}" data-status-and-comment="{{.i18n.Tr "repo.issues.close_comment_issue"}}" data-status-val="close">
 | 
				
			||||||
									{{.i18n.Tr "repo.issues.close_issue"}}
 | 
														{{.i18n.Tr "repo.issues.close_issue"}}
 | 
				
			||||||
								</div>
 | 
													</div>
 | 
				
			||||||
								{{end}}
 | 
													{{end}}
 | 
				
			||||||
							{{end}}
 | 
												{{end}}
 | 
				
			||||||
							<button class="ui green button">
 | 
												<button class="ui green button" tabindex="2">
 | 
				
			||||||
								{{.i18n.Tr "repo.issues.create_comment"}}
 | 
													{{.i18n.Tr "repo.issues.create_comment"}}
 | 
				
			||||||
							</button>
 | 
												</button>
 | 
				
			||||||
			      </div>
 | 
								      </div>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user