Add effective date to terms of service (#33993)
This commit is contained in:
parent
84164270c6
commit
cadda2f957
67 changed files with 201 additions and 126 deletions
|
|
@ -12,5 +12,9 @@
|
|||
- @terms_of_service.each do |terms_of_service|
|
||||
%li
|
||||
.admin__terms-of-service__history__item
|
||||
%h5= l(terms_of_service.published_at)
|
||||
%h5
|
||||
- if terms_of_service.effective_date.present?
|
||||
= link_to l(terms_of_service.published_at), terms_of_service_version_path(date: terms_of_service.effective_date)
|
||||
- else
|
||||
= l(terms_of_service.published_at)
|
||||
.prose= markdown(terms_of_service.changelog)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue