add_css_class_to_relations_items-v2.patch

Go MAEDA, 2022-08-02 10:22

Download (555 Bytes)

View differences:

app/helpers/issues_helper.rb
203 203
    s = ''.html_safe
204 204
    relations.each do |relation|
205 205
      other_issue = relation.other_issue(issue)
206
      css = "issue hascontextmenu #{other_issue.css_classes}"
206
      css = "issue hascontextmenu #{other_issue.css_classes} #{relation.css_classes_for(other_issue)}"
207 207
      buttons =
208 208
        if manage_relations
209 209
          link_to(