@@ -221,6 +221,7 @@ show_only_public = Showing only public | |||||
issues.in_your_repos = In your repositories | issues.in_your_repos = In your repositories | ||||
contributors = Contributors | contributors = Contributors | ||||
contributor = Contributor | |||||
page_title=Explore Better AI | page_title=Explore Better AI | ||||
page_small_title=OpenI AI Development Cooperation Platform | page_small_title=OpenI AI Development Cooperation Platform | ||||
@@ -2041,7 +2042,7 @@ org_full_name_holder = Organization Full Name | |||||
org_name_helper = Organization names should be short and memorable. | org_name_helper = Organization names should be short and memorable. | ||||
create_org = Create Organization | create_org = Create Organization | ||||
repo_updated = Updated | repo_updated = Updated | ||||
repo_released = Released | |||||
repo_released = Post | |||||
home = Home | home = Home | ||||
people = People | people = People | ||||
teams = Teams | teams = Teams | ||||
@@ -2058,8 +2059,8 @@ team_access_desc = Repository access | |||||
team_permission_desc = Permission | team_permission_desc = Permission | ||||
team_unit_desc = Allow Access to Repository Sections | team_unit_desc = Allow Access to Repository Sections | ||||
team_unit_disabled = (Disabled) | team_unit_disabled = (Disabled) | ||||
selected_couse=Selected course | |||||
release_course = Contributors | |||||
selected_couse=Selected courses | |||||
release_course = Publish course | |||||
all_keywords=All keywords | all_keywords=All keywords | ||||
max_selectedPro= Selected up to nine public projects | max_selectedPro= Selected up to nine public projects | ||||
custom_select_courses = Custom selected courses | custom_select_courses = Custom selected courses | ||||
@@ -2153,7 +2154,7 @@ teams.all_repositories_helper = Team has access to all repositories. Selecting t | |||||
teams.all_repositories_read_permission_desc = This team grants <strong>Read</strong> access to <strong>all repositories</strong>: members can view and clone repositories. | teams.all_repositories_read_permission_desc = This team grants <strong>Read</strong> access to <strong>all repositories</strong>: members can view and clone repositories. | ||||
teams.all_repositories_write_permission_desc = This team grants <strong>Write</strong> access to <strong>all repositories</strong>: members can read from and push to repositories. | teams.all_repositories_write_permission_desc = This team grants <strong>Write</strong> access to <strong>all repositories</strong>: members can read from and push to repositories. | ||||
teams.all_repositories_admin_permission_desc = This team grants <strong>Admin</strong> access to <strong>all repositories</strong>: members can read from, push to and add collaborators to repositories. | teams.all_repositories_admin_permission_desc = This team grants <strong>Admin</strong> access to <strong>all repositories</strong>: members can read from, push to and add collaborators to repositories. | ||||
teams.join_teams=Join the organization | |||||
teams.join_teams=Join in | |||||
[admin] | [admin] | ||||
dashboard = Dashboard | dashboard = Dashboard | ||||
@@ -223,6 +223,7 @@ show_only_public=只显示公开的 | |||||
issues.in_your_repos=属于该用户项目的 | issues.in_your_repos=属于该用户项目的 | ||||
contributors=贡献者 | contributors=贡献者 | ||||
contributor=贡献者 | |||||
page_title=探索更好的AI | page_title=探索更好的AI | ||||
page_small_title=启智AI开发协作平台 | page_small_title=启智AI开发协作平台 | ||||
@@ -200,8 +200,8 @@ var _hmt = _hmt || []; | |||||
<div class="ui top secondary stackable main menu following bar dark"> | <div class="ui top secondary stackable main menu following bar dark"> | ||||
{{template "base/head_navbar" .}} | {{template "base/head_navbar" .}} | ||||
</div><!-- end bar --> | </div><!-- end bar --> | ||||
{{if not .IsCourse}} | |||||
<div class="notic_content" id ="notic_content" > | |||||
<!-- {{if not .IsCourse}} --> | |||||
<div class="notic_content" id ="notic_content" style="display: none;"> | |||||
<a href={{.notice.Link}} class="a_width"> | <a href={{.notice.Link}} class="a_width"> | ||||
<marquee behavior="scroll" direction="left"> | <marquee behavior="scroll" direction="left"> | ||||
{{.notice.Title}} | {{.notice.Title}} | ||||
@@ -209,7 +209,7 @@ var _hmt = _hmt || []; | |||||
</a> | </a> | ||||
<i class="ri-close-fill x_icon" onclick="closeNoice()"></i> | <i class="ri-close-fill x_icon" onclick="closeNoice()"></i> | ||||
</div> | </div> | ||||
{{end}} | |||||
<!-- {{end}} --> | |||||
{{end}} | {{end}} | ||||
{{/* | {{/* | ||||
</div> | </div> | ||||
@@ -249,8 +249,7 @@ var _hmt = _hmt || []; | |||||
document.getElementById("notic_content").style.display='none' | document.getElementById("notic_content").style.display='none' | ||||
} | } | ||||
} | } | ||||
if(! ".PageIsInstall") { | |||||
if( !"{{.IsCourse}}") { | |||||
isShowNotice(); | isShowNotice(); | ||||
} | } | ||||
</script> | |||||
</script> |
@@ -201,7 +201,7 @@ var _hmt = _hmt || []; | |||||
<div class="ui top secondary stackable main menu following bar dark"> | <div class="ui top secondary stackable main menu following bar dark"> | ||||
{{template "base/head_navbar_fluid" .}} | {{template "base/head_navbar_fluid" .}} | ||||
</div><!-- end bar --> | </div><!-- end bar --> | ||||
<div class="notic_content" id ="notic_content" > | |||||
<div class="notic_content" id ="notic_content" style="display: none;"> | |||||
<a href={{.notice.Link}} class="a_width"> | <a href={{.notice.Link}} class="a_width"> | ||||
<marquee behavior="scroll" direction="left"> | <marquee behavior="scroll" direction="left"> | ||||
{{.notice.Title}} | {{.notice.Title}} | ||||
@@ -248,5 +248,7 @@ var _hmt = _hmt || []; | |||||
document.getElementById("notic_content").style.display='none' | document.getElementById("notic_content").style.display='none' | ||||
} | } | ||||
} | } | ||||
isShowNotice(); | |||||
if( !"{{.IsCourse}}") { | |||||
isShowNotice(); | |||||
} | |||||
</script> | </script> |
@@ -205,7 +205,7 @@ var _hmt = _hmt || []; | |||||
<div class="ui top secondary stackable main menu following bar dark"> | <div class="ui top secondary stackable main menu following bar dark"> | ||||
{{template "base/head_navbar" .}} | {{template "base/head_navbar" .}} | ||||
</div><!-- end bar --> | </div><!-- end bar --> | ||||
<div class="notic_content" id ="notic_content" > | |||||
<div class="notic_content" id ="notic_content" style="display: none;" > | |||||
<a href={{.notice.Link}} class="a_width"> | <a href={{.notice.Link}} class="a_width"> | ||||
<marquee behavior="scroll" direction="left"> | <marquee behavior="scroll" direction="left"> | ||||
{{.notice.Title}} | {{.notice.Title}} | ||||
@@ -252,5 +252,7 @@ var _hmt = _hmt || []; | |||||
document.getElementById("notic_content").style.display='none' | document.getElementById("notic_content").style.display='none' | ||||
} | } | ||||
} | } | ||||
isShowNotice(); | |||||
if( !"{{.IsCourse}}") { | |||||
isShowNotice(); | |||||
} | |||||
</script> | </script> |
@@ -201,7 +201,7 @@ var _hmt = _hmt || []; | |||||
<div class="ui top secondary stackable main menu following bar dark"> | <div class="ui top secondary stackable main menu following bar dark"> | ||||
{{template "base/head_navbar_pro" .}} | {{template "base/head_navbar_pro" .}} | ||||
</div><!-- end bar --> | </div><!-- end bar --> | ||||
<div class="notic_content" id ="notic_content" > | |||||
<div class="notic_content" id ="notic_content" style="display: none;" > | |||||
<a href={{.notice.Link}} class="a_width"> | <a href={{.notice.Link}} class="a_width"> | ||||
<marquee behavior="scroll" direction="left"> | <marquee behavior="scroll" direction="left"> | ||||
{{.notice.Title}} | {{.notice.Title}} | ||||
@@ -249,5 +249,7 @@ var _hmt = _hmt || []; | |||||
document.getElementById("notic_content").style.display='none' | document.getElementById("notic_content").style.display='none' | ||||
} | } | ||||
} | } | ||||
isShowNotice(); | |||||
if( !"{{.IsCourse}}") { | |||||
isShowNotice(); | |||||
} | |||||
</script> | </script> |
@@ -43,7 +43,7 @@ | |||||
success:function(json){ | success:function(json){ | ||||
data = json; | data = json; | ||||
if (data.code==0) { | if (data.code==0) { | ||||
$('.alert').html('{{.i18n.Tr "repo.computing.success"}}').removeClass('alert-danger').addClass('alert-success').show().delay(1500).fadeOut(); | |||||
$('.alert').html('{{.i18n.Tr "repo.computing.success"}}').removeClass('alert-danger').addClass('alert-success').show().delay(2000).fadeOut(); | |||||
} else { | } else { | ||||
$('.alert').html(data.error_msg).removeClass('alert-success').addClass('alert-danger').show().delay(5000).fadeOut(); | $('.alert').html(data.error_msg).removeClass('alert-success').addClass('alert-danger').show().delay(5000).fadeOut(); | ||||
} | } | ||||
@@ -176,9 +176,9 @@ | |||||
<a href="{{.Link}}"><strong class="team-name">{{.Alias}}</strong></a> | <a href="{{.Link}}"><strong class="team-name">{{.Alias}}</strong></a> | ||||
<p class="text grey"> | <p class="text grey"> | ||||
{{if ne .CreatorID 0}} | {{if ne .CreatorID 0}} | ||||
{{$.i18n.Tr "home.contributors"}} : {{.Creator.Name}} | |||||
{{$.i18n.Tr "home.contributor"}} : {{.Creator.Name}} | |||||
{{else}} | {{else}} | ||||
{{$.i18n.Tr "home.contributors"}}:{{.Owner.Name}} | |||||
{{$.i18n.Tr "home.contributor"}}:{{.Owner.Name}} | |||||
{{end}} | {{end}} | ||||
</p> | </p> | ||||
</div> | </div> | ||||
@@ -433,7 +433,7 @@ | |||||
success:function(json){ | success:function(json){ | ||||
data = json; | data = json; | ||||
if (data.code==0) { | if (data.code==0) { | ||||
$('.alert').html('{{.i18n.Tr "repo.computing.success"}}').removeClass('alert-danger').addClass('alert-success').show().delay(1500).fadeOut(); | |||||
$('.alert').html('{{.i18n.Tr "repo.computing.success"}}').removeClass('alert-danger').addClass('alert-success').show().delay(2000).fadeOut(); | |||||
} else { | } else { | ||||
$('.alert').html(data.error_msg).removeClass('alert-success').addClass('alert-danger').show().delay(5000).fadeOut(); | $('.alert').html(data.error_msg).removeClass('alert-success').addClass('alert-danger').show().delay(5000).fadeOut(); | ||||
} | } | ||||