Feature #30977

Add CSS class to project custom fields

Added by Go MAEDA 17 days ago. Updated 16 days ago.

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

0%

Category:UI
Target version:4.0.3
Resolution:Fixed

Description

Project custom fields displayed on the Overview page does not have any CSS class. This makes it difficult for users to style those fields shown on the page.

I think those fields should have a proper CSS class that identify the custom field.

[Current]

<ul>
    <li><span class="label">Homepage:</span> <a href="http://ecookbook.somenet.foo/">http://ecookbook.somenet.foo/</a></li>
    <li><span class="label">Development status:</span> Stable</li>
</ul>

[With the proposing improvement]

<ul>
    <li><span class="label">Homepage:</span> <a href="http://ecookbook.somenet.foo/">http://ecookbook.somenet.foo/</a></li>
    <li class="cf_9"><span class="label">Development status:</span> Stable</li>
</ul>

add-css-class-to-project-cf.patch Magnifier (1.22 KB) Go MAEDA, 2019-03-06 15:11


Related issues

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

Associated revisions

Revision 17931
Added by Go MAEDA 17 days ago

Add CSS class to project custom fields (#30977).

Patch by Go MAEDA.

Revision 17932
Added by Go MAEDA 16 days ago

Merged r17931 from trunk to 4.0-stable (#30977).

History

#1 Updated by Go MAEDA 17 days ago

  • File add-css-class-to-project-cf.patchMagnifier added
  • Subject changed from Add CSS class to project custom fields on the Overview page to Add CSS class to project custom fields
  • Target version set to 4.0.3

Here is a patch to implement this.

#2 Updated by Go MAEDA 17 days ago

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

Committed.

#3 Updated by Go MAEDA 16 days ago

  • Status changed from Resolved to Closed

#4 Updated by Go MAEDA 16 days ago

  • Related to Feature #30985: Add CSS class to user custom fields added

#5 Updated by Marius BALTEANU 16 days ago

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

Also available in: Atom PDF