Feature #30985

Add CSS class to user custom fields

Added by Go MAEDA 3 months ago. Updated 3 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:UI
Target version:4.0.3
Resolution:Fixed

Description

User custom fields displayed in the profile page don't have a CSS class that expresses the internal id of the custom field.

Those fields should have a class as already done in issue and project custom fields.

[The current HTML]

<ul>
  <li>Login: jsmith</li>
    <li>Phone number: 01 42 50 00 00</li>
    <li>Registered on: 07/19/2006</li>
    <li>Last connection: 07/19/2006</li>
</ul>

[HTML with classes]

<ul>
  <li>Login: jsmith</li>
    <li class="cf_4">Phone number: 01 42 50 00 00</li>
    <li>Registered on: 07/19/2006</li>
    <li>Last connection: 07/19/2006</li>
</ul>

30985.diff Magnifier (1.17 KB) Go MAEDA, 2019-03-07 15:28


Related issues

Related to Redmine - Feature #30977: Add CSS class to project custom fields Closed
Related to Redmine - Patch #30994: Refactor custom field css classes Closed

Associated revisions

Revision 17935
Added by Go MAEDA 3 months ago

Add CSS class to user custom fields (#30985).

Patch by Go MAEDA.

Revision 17936
Added by Go MAEDA 3 months ago

Merged r17935 from trunk to 4.0-stable (#30985).

History

#1 Updated by Go MAEDA 3 months ago

  • Related to Feature #30977: Add CSS class to project custom fields added

#2 Updated by Go MAEDA 3 months ago

  • File 30985.diffMagnifier added
  • Target version set to 4.0.3

Attaching a patch.

#3 Updated by Marius BALTEANU 3 months ago

  • Related to Patch #30994: Refactor custom field css classes added

#4 Updated by Go MAEDA 3 months ago

  • Status changed from New to Resolved
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed.

#5 Updated by Go MAEDA 3 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF