Skip to content

Commit

Permalink
Improve Description in new/ edit Project template (go-gitea#14429)
Browse files Browse the repository at this point in the history
Fixes go-gitea#14358

Co-authored-by: Lunny Xiao <[email protected]>
Co-authored-by: 6543 <[email protected]>
  • Loading branch information
3 people authored Jan 23, 2021
1 parent 91e59a6 commit 9872b8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion options/locale/locale_en-US.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions templates/repo/projects/new.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit 9872b8d

Please sign in to comment.