Project

General

Profile

Defect #40610 » 40610-v2.patch

Go MAEDA, 2024-04-25 08:42

View differences:

app/helpers/projects_queries_helper.rb
27 27
          (tag.span(class: 'icon icon-user my-project', title: l(:label_my_projects)) if User.current.member_of?(item)) +
28 28
          (tag.span(class: 'icon icon-bookmarked-project', title: l(:label_my_bookmarks)) if User.current.bookmarked_project_ids.include?(item.id))
29 29
      when :short_description
30
        item.description? ? content_tag('div', textilizable(item, :short_description), :class => "wiki") : ''
30
        if item.description?
31
          content_tag('div', textilizable(item, :short_description, :inline_attachments => false), :class => 'wiki')
32
        else
33
          ''
34
        end
31 35
      when :homepage
32 36
        item.homepage? ? content_tag('div', textilizable(item, :homepage), :class => "wiki") : ''
33 37
      when :status
(2-2/2)