additionals/app/views/dashboards/blocks/_project_information.html.slim
2024-10-05 16:33:56 +02:00

26 lines
787 B
Plaintext

h3 = block_definition[:label]
- if @project.description.present?
.wiki.project-description
= textilizable @project.description
- if @project.homepage.present? || @project.visible_custom_field_values.any? { |o| o.value.present? }
ul.dashboard-list
- if @project.homepage.present?
li
span.label
= l :field_homepage
' :
- if uri_with_safe_scheme? @project.homepage
= link_to_url @project.homepage
- else
= @project.homepage
- render_custom_field_values @project do |custom_field, formatted|
li class="#{custom_field.css_classes}"
span.label
= custom_field.name
' :
= formatted
= call_hook :view_projects_show_dashboard_info_block, project: @project, dashboard: