Browse Source

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>
tags/v1.15.0-dev
delvh GitHub 4 years ago
parent
commit
ac58d22e05
2 changed files with 4 additions and 3 deletions
  1. +2
    -1
      options/locale/locale_en-US.ini
  2. +2
    -2
      templates/repo/projects/new.tmpl

+ 2
- 1
options/locale/locale_en-US.ini 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


+ 2
- 2
templates/repo/projects/new.tmpl 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}}


Loading…
Cancel
Save