-
Improvement
-
Resolution: Fixed
-
Minor
-
Jenkins installed from Fedora 21 package.
Jenkins version: 1.590
Timestamper plugin: 1.5.15
When viewing console log of a job, the timestamper plugin adds three timestamp options:
- System clock time
- Elapsed time
- None
The text is not clickable, only the radio buttons can be used to make a choice.
It would be nice if the text was associated with the radio button.
The HTML comes from timestamper-plugin/src/main/resources/hudson/plugins/timestamper/annotator/TimestampAnnotatorFactory/usersettings.jelly
<form>
<input type="radio" name="timestamps" id="timestamper-systemTime">${%System clock time}</input>
<br/>
<input type="radio" name="timestamps" id="timestamper-elapsedTime">${%Elapsed time}</input>
<br/>
<input type="radio" name="timestamps" id="timestamper-none">${%None}</input>
</form>
The <input> tag does not need a </input> tag. Embedding the <input> within a <label> will allow the text be associated with the radio button.
Suggested code:
<form>
<label><input type="radio" name="timestamps" id="timestamper-systemTime">${%System clock time}</label>
<br/>
<label><input type="radio" name="timestamps" id="timestamper-elapsedTime">${%Elapsed time}</label>
<br/>
<label><input type="radio" name="timestamps" id="timestamper-none">${%None}</label>
</form>