Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

567 B
Raw Blame
<%=
  if @start_date == @due_date
    render(Primer::Beta::Text.new(**@text_arguments, classes: date_classes(@start_date))) { parsed_date(@start_date) }
  else
    component_collection do |collection|
      collection.with_component(Primer::Beta::Text.new(**@text_arguments)) { parsed_date(@start_date) }
      collection.with_component(Primer::Beta::Text.new(**@text_arguments)) { " – " } if @due_date.present?
      collection.with_component(Primer::Beta::Text.new(**@text_arguments, classes: date_classes(@due_date))) { parsed_date(@due_date) }
    end
  end
%>