Project

General

Profile

Actions

Feature #43589

closed

Show the "h:mm" placeholder in hours fields only when the time span format is "minutes"

Feature #43589: Show the "h:mm" placeholder in hours fields only when the time span format is "minutes"

Added by Yasu Saku 12 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
UI
Target version:
Resolution:
Fixed

Description

Redmine allows switching the Time span format between 0.75 and 0:45 h in the settings.
However, the placeholder of the Hours input field is fixed as h:mm , regardless of the selected format.
This affects not only the Issue form (Estimated hours field) but also the Log time form, where the same Hours input field is used.
Would it be possible to update the placeholder dynamically to match the chosen format? For example, when the format is 0.75 , the placeholder should reflect that style instead of h:mm .
The placeholder appears to have been introduced in issue #2464.

The corresponding line can be found here:
source:/branches/6.1-stable/lib/redmine/views/labelled_form_builder.rb@24209#L52


Files


Related issues 1 (0 open — 1 closed)

Related to Redmine - Feature #2464: Add placeholder "h:mm" to hours field for better user guidanceClosedGo MAEDAActions
Actions

Also available in: PDF Atom