Improve Description in new/ edit Project template (#14429)

Fixes #14358

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
delvh 2021-01-23 11:30:28 +01:00 committed by GitHub
parent 91e59a6690
commit 9872b8d97a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -926,7 +926,8 @@ ext_issues = Ext. Issues
ext_issues.desc = Link to an external issue tracker.
projects = Projects
projects.desc = Manage issues and pulls in project boards.
projects.description = Description (optional)
projects.description_placeholder = Description
projects.create = Create Project
projects.title = Title
projects.new = New project

View File

@ -29,8 +29,8 @@
<input name="title" placeholder="{{.i18n.Tr "repo.projects.title"}}" value="{{.title}}" autofocus required>
</div>
<div class="field">
<label>{{.i18n.Tr "repo.projects.desc"}}</label>
<textarea name="content">{{.content}}</textarea>
<label>{{.i18n.Tr "repo.projects.description"}}</label>
<textarea name="content" placeholder="{{.i18n.Tr "repo.projects.description_placeholder"}}">{{.content}}</textarea>
</div>
{{if not .PageIsEditProjects}}