backlogs / redmine_backlogs

A Redmine plugin for agile teams
https://backlogs.github.io/www/
GNU General Public License v2.0
773 stars 460 forks source link

Using div.splitpanel against th-td on issues show bottom details view hook when rendering plugin related fileds - redmine 3 compatibility #1131

Open futaz opened 7 years ago

futaz commented 7 years ago

Hi!

There was a problem on the issue view. When rendering the backlogs plugin related fields on the bottom of the details section, the plugin used th and td elements, but the new redmine 3.3 style is div elements with splitpanel class. Because of that the fields didn't render properly.

I changed your view hook in that way that is uses the redmine's IssueHelper.issue_fields_rows method to render these fields so they are fit into the new layout.

Because of the new layout based on left and rigth columns and the old layout based on table row elements, it was necessary to reorder these fields a bit.