Skip to content

Commit

Permalink
Merge pull request #239 from ppfeufer/237-add-eve-time-hint
Browse files Browse the repository at this point in the history
[ADD] Eve time hint in placeholder for formup time
  • Loading branch information
ppfeufer authored Nov 27, 2024
2 parents 6132404 + 4dc0878 commit e6e62fc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ Section Order:
### Security
-->

### Added

- Eve time hint in placeholder for formup time (#237)

### Changed

- Autocomplete JS updated
Expand Down
8 changes: 7 additions & 1 deletion fleetpings/form.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,13 @@ class FleetPingForm(forms.Form):
required=False,
label=_("Formup time"),
max_length=254,
widget=forms.TextInput(attrs={"disabled": "disabled", "autocomplete": "off"}),
widget=forms.TextInput(
attrs={
"disabled": "disabled",
"autocomplete": "off",
"placeholder": _("Formup time (Eve time)"),
}
),
help_text=_(
"To enable this field, either make it a pre-ping (checkbox above) or "
'uncheck "Formup NOW" (checkbox below).'
Expand Down

0 comments on commit e6e62fc

Please sign in to comment.