This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
Merge branch 'pre_trustie_server' into trustie_server
pull/312/head
“xxq250”
3 years ago
parent
e71a3f6864
1ade73f21a
commit
9a19046e96
4 changed files
with
7 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
app/forms/contents/create_form.rb
+5
-0
config/locales/forms/create_file_form.zh-CN.yml
BIN
public/images/logo.png
BIN
public/images/logo_x2.png
+ 2
- 0
app/forms/contents/create_form.rb
View File
@@ -3,6 +3,8 @@ class Contents::CreateForm < BaseForm
validates :filepath, presence: true
validates :new_branch, length: { maximum: 100, too_long: "过长,仅支持%{count}的长度"}
validate :check_branch
def check_branch
+ 5
- 0
config/locales/forms/create_file_form.zh-CN.yml
View File
@@ -0,0 +1,5 @@
'zh-CN':
activemodel:
attributes:
contents/create_form:
new_branch: 分支名称
BIN
public/images/logo.png
View File
Before
After
Width:
179
| Height:
166
| Size:
15 kB
BIN
public/images/logo_x2.png
View File
Before
After
Width:
358
| Height:
332
| Size:
39 kB
Write
Preview
Loading…
Cancel
Save