From 2c76f1cb3b981884851265f430880c776dd75d06 Mon Sep 17 00:00:00 2001 From: Bertocq Date: Fri, 2 Jun 2017 19:19:23 +0200 Subject: [PATCH] Show legislative process summary on list, keep first description paragraph as fallback --- app/views/legislation/processes/_process.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/legislation/processes/_process.html.erb b/app/views/legislation/processes/_process.html.erb index c70d71a6e..77ee985d9 100644 --- a/app/views/legislation/processes/_process.html.erb +++ b/app/views/legislation/processes/_process.html.erb @@ -13,7 +13,7 @@
- <%= markdown(first_paragraph(process.description)) %> + <%= markdown(process.summary.present? ? process.summary : first_paragraph(process.description)) %>