Issue Type: Improvement Improvement
Assignee: stevengbrown
Components: timestamper-plugin
Created: 20/Feb/15 3:38 PM
Description:

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>

Environment: Jenkins installed from Fedora 21 package.
Jenkins version: 1.590
Timestamper plugin: 1.5.15
Project: Jenkins
Labels: user-experience
Priority: Minor Minor
Reporter: Paul Fee
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to