Project

General

Profile

Actions

Patch #33453

closed

Add plugin CSS classes to plugin settings views

Added by Mischa The Evil almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Plugin API
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Extracted from #33339#note-20 by Alexander Meindl with patch:

[...] But it should be a possibility for plugin developers to change css for an individual namespace to the plugin settings (without using deface or Javascript).

If a css class would be added with the plugin name, a plugin developer can change css for the required plugin.

I added a patch for this possible change. It would be very helpful, also for other situations for a Redmine plugin developer.


Files

settings_patch_with_plugin_classes.patch (548 Bytes) settings_patch_with_plugin_classes.patch From #33339#note-20, by Alexander Meindl Mischa The Evil, 2020-05-16 08:07
test-for-33453.patch (829 Bytes) test-for-33453.patch Go MAEDA, 2020-05-30 12:27

Related issues

Related to Redmine - Defect #33339: Broken layout of the preview tab of "Welcome text" setting due to unexpectedly applied padding-leftClosedGo MAEDA

Actions
Actions #1

Updated by Mischa The Evil almost 4 years ago

  • Related to Defect #33339: Broken layout of the preview tab of "Welcome text" setting due to unexpectedly applied padding-left added
Actions #2

Updated by Go MAEDA almost 4 years ago

Attaching a test for the patch.

Actions #3

Updated by Go MAEDA almost 4 years ago

  • Target version changed from Candidate for next major release to 4.2.0

Setting the target version to 4.2.0.

Actions #4

Updated by Go MAEDA almost 4 years ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA

Committed the patch.

Actions

Also available in: Atom PDF